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 an API that request an certain entity as request data. As response I return another entity/class. I want to let swagger-ui (1.1.4) display the properties of the request model. But currently this model will only become available in the models array in the json file if it's in some API defined as responseClass.
I think it would be better to scan the whole project and search for @SwaggerModel with maybe an extra annotation to define in which APIs it should be added to the JSON file.
Like to hear your ideas about this.
The text was updated successfully, but these errors were encountered:
I have an API that request an certain entity as request data. As response I return another entity/class. I want to let swagger-ui (1.1.4) display the properties of the request model. But currently this model will only become available in the models array in the json file if it's in some API defined as responseClass.
I think it would be better to scan the whole project and search for @SwaggerModel with maybe an extra annotation to define in which APIs it should be added to the JSON file.
Like to hear your ideas about this.
The text was updated successfully, but these errors were encountered: