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
This has been extensively discussed here. But to make a quick summary, my proposal is:
deprecate type from the main body of the object.
rename responseMessages to responses.
have in each response code (the HTTP status, inclusive the ones in the 2xx family - if any), message (an informational message that the client can store and reuse for its GUI but that will not be transmitted at each response) and model (omitting this will be equivalent to "model": "void", i.e. a response without body).
I highlighted the reasons why I feel this is a better solution in the linked issue.
The text was updated successfully, but these errors were encountered:
Issue by quasipedia from Sunday Mar 02, 2014 at 00:44 GMT
Originally opened as https://github.com/wordnik/swagger-docs/issues/5
This has been extensively discussed here. But to make a quick summary, my proposal is:
type
from the main body of the object.responseMessages
toresponses
.code
(the HTTP status, inclusive the ones in the 2xx family - if any),message
(an informational message that the client can store and reuse for its GUI but that will not be transmitted at each response) andmodel
(omitting this will be equivalent to"model": "void"
, i.e. a response without body).I highlighted the reasons why I feel this is a better solution in the linked issue.
The text was updated successfully, but these errors were encountered: