-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Better API spec in Swagger UI #664
Comments
I’d like to work with this. |
@thiennn Trying to add the xml comment which generates the xml document displaying in swagger UI, but it does not seem to create the xml doc from xml comments. |
Many controllers actions are returning anonymous types, I think we convert to explicit type first to leverage ActionResult. About the xml doc, we can do it later |
If I may ask, why are the controllers returning anonymous types instead of strongly typed objects? |
Yes, it should return strongly typed. In the early days I return anonymous for faster coding. Now it should be refactored |
We have added Swashbuckle to generate specs for SimplCommerce APIs #662. You can now see the generated spec in /swagger. The next step is enhance the APIs spec
The text was updated successfully, but these errors were encountered: