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
The idea is to enable definition/overriding at each level (whole API, path, operation) for both produces and consumes and also add produces on response level (as proposed in #660)
paths:
consumes:
# apply to all path and operationsproduces:
# apply to all path and operations/resources:
produces:
# apply to this path's operations and override upper levelconsumes:
# apply to this path's operations and override upper levelget:
produces:
# apply to this operation and override upper levelsconsumes:
# apply to this operation and override upper levelsresponses:
200:
produces:
# apply to this response and override upper levels
The text was updated successfully, but these errors were encountered:
Following my ideas from OAI/sig-moonwalk#115 and extending the #660 idea, we could modify
consumes
andproduces
handling.On spec's current version, you handle the produced and consumed media types this way:
Produced and consumed media type can be declared on root level for all paths and operations:
And they can be overridden on operation level:
The idea is to enable definition/overriding at each level (whole API, path, operation) for both
produces
andconsumes
and also addproduces
on response level (as proposed in #660)The text was updated successfully, but these errors were encountered: