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
When we use the same enum multiple times in a controller the same enum data gets added per use.
Is there a way to add the enum to the definitions and only have a reference to it?
The text was updated successfully, but these errors were encountered:
You can only reference an enum from complex objects - meaning only things in body parameters and responses. This changes in the new version of the spec.
latest
https://github.com/heldersepu/SwashbuckleTest/blob/master/swagger.json#L577
When we use the same enum multiple times in a controller the same enum data gets added per use.
Is there a way to add the enum to the definitions and only have a reference to it?
The text was updated successfully, but these errors were encountered: