-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
With the following config:
package: main
generate:
models: true
output: jellyfin.gen.go
Generating from https://api.jellyfin.org/openapi/jellyfin-openapi-stable.json at the time of writing
I get
/jellyfin.gen.go:886:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:887:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:888:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:889:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:890:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:891:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:892:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:893:62: invalid constant type TranscodingInfoTranscodeReasons
./jellyfin.gen.go:3263:18: VideoRangeType is not a type
./jellyfin.gen.go:5804:6: VideoRangeType redeclared in this block
./jellyfin.gen.go:731:2: other declaration of VideoRangeType
./jellyfin.gen.go:893:62: too many errors
I'll have a look into this at some point later, but I may have to use a different generator for now.
TranscodingInfoTranscodeReasons seems like it should be an enum but it's currently past midnight and I need to stop looking at this.
Metadata
Metadata
Assignees
Labels
No labels