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
I'm consuming OpenAPI definition created from JAVA application. In Schema is field with data type number but without format property. NSwag generate property as type double which is default for NumberType. In NJsonSchema CSharpGeneratorSettings.NumberType peroperty but I cannot find a way how to set this property in NSwag configuration to override the default configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm consuming OpenAPI definition created from JAVA application. In Schema is field with data type number but without format property. NSwag generate property as type double which is default for NumberType. In NJsonSchema CSharpGeneratorSettings.NumberType peroperty but I cannot find a way how to set this property in NSwag configuration to override the default configuration.
Is this possible and if yes how.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions