You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAPI escaped strings are not escaped in Go #1529
I generated a Jellyfin client for the stable jellyfin spec with the following command: oapi-codegen -package jellyfin -generate types,client jellyfin-openapi-stable.json > jellyfin_api.go
However, oapi-codegen stopped during formatting of the code with the message:
./jellyfin_api.go:105172:68: expected ':', found CamelCase (and 10 more errors)
Activity
deluan commentedon Jan 7, 2025
This error seems to also affect the
strict-servergeneration for Jellyfin:Offending code is the second line of this function:
I'm using
chi-serverandstrict-server. If I don't usestrict-serverit completes the code generation successfully.Tested with the latest from
main:v2.4.2-0.20250102212541-8bbe226927c9fix: escape quoted media type directives
fix: escape quoted media type directives
fix: escape quoted media type directives