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
{{ message }}
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
Having the operations decorated with these attributes should also affect the Swagger documentation.
For example:
[SwaggerResponse((int)HttpStatusCode.OK,"Player data object")][SwaggerResponse((int)HttpStatusCode.NotFound,"Player not found")][SwaggerResponse((int)HttpStatusCode.InternalServerError,"API is not available")][Produces("application/json")]publicasyncTask<IActionResult>GetPlayer(intid){}
What's the point to have application/json and text/json?
We should remove text/json
Regarding text/json, application/json: I just took that over from the code at hand. Also to show how multiple contenttypes can be specified.
But for me, it is OK to drop text/json.
provide guidelines on content negotiation (accept / content-type).
The text was updated successfully, but these errors were encountered: