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 have a model that has a property that is decorated with the JsonExtensionData attribute:
However, when generating the swagger.json file, this isn't added as additionalproperties:
I use following code to enable NSwag in my web API:
The Web API is an .Net core 2.0 web API.
Any idea on how I can force the creation of the AdditionalProperties property and why this is isn't generated out of the box?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
=> Check whether a property with JsonExtensionDataAttribute exists and if so, generate the correct schema...
Also the code generators need to correctly process objects with an additionalProperties schema (i.e. generate the same property with the attribute, not sure whether this is already implemented).
I have a model that has a property that is decorated with the JsonExtensionData attribute:
However, when generating the swagger.json file, this isn't added as additionalproperties:
I use following code to enable NSwag in my web API:
The Web API is an .Net core 2.0 web API.
Any idea on how I can force the creation of the AdditionalProperties property and why this is isn't generated out of the box?
Thanks in advance!
The text was updated successfully, but these errors were encountered: