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
Unable to set x-global-options which are booleans like java_multiple_files: true
Error returned is.
error: failed to transpile: failed to load OpenAPI spec: failed to decode content: json: cannot unmarshal bool into Go struct field Spec.x-global-options of type string
example from top of swagger yaml package name works fine.
x-global-options:
java_package: com.mypackagename
java_multiple_files: true # THIS CAUSES THE ERROR
The text was updated successfully, but these errors were encountered:
We're just outputting a text file, why do we need to use a native boolean type there?
This would be different if the tools' aim was to parse and then allow end users to process the data, but we're just producing text.
Documentation can be updated, certainly, but I feel the user should just supply a string there.
Unable to set x-global-options which are booleans like java_multiple_files: true
Error returned is.
error: failed to transpile: failed to load OpenAPI spec: failed to decode content: json: cannot unmarshal bool into Go struct field Spec.x-global-options of type string
example from top of swagger yaml package name works fine.
The text was updated successfully, but these errors were encountered: