Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add section definition in the Swagger file #289

Closed
danieleteti opened this issue Nov 5, 2019 · 4 comments
Closed

Add section definition in the Swagger file #289

danieleteti opened this issue Nov 5, 2019 · 4 comments
Assignees
Labels
accepted Issue has been accepted and inserted in a future milestone enhancement

Comments

@danieleteti
Copy link
Owner

The swagger file use only in line definition for models.

Should be much better if it had uses the #ref syntax centralizing all the models in the proper section. Moreover, the swagger-ui can show the models in the proper section.

@joaoduarte19
Copy link
Collaborator

Yes, this is an improvement I already thought to make. As soon as I have some free time I want to make this change in the way I add JSONSchema to swagger.

@danieleteti
Copy link
Owner Author

danieleteti commented Nov 5, 2019

I think that we could just add to the model all the complex types (classes) found while inspecting each method.

@danieleteti
Copy link
Owner Author

@joaoduarte19 do you have any news about this?

@danieleteti danieleteti added the accepted Issue has been accepted and inserted in a future milestone label Nov 27, 2019
@joaoduarte19
Copy link
Collaborator

I have already started working on this feature. I believe that within 3 weeks it will be finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Issue has been accepted and inserted in a future milestone enhancement
Projects
None yet
Development

No branches or pull requests

2 participants