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
I looked at #636 again after @darrelmiller posted "Extending representations to parameters and headers" #762 . I think the Parameter Object section should include the (singular) example field under Fixed Fields. examples are used in parameters in the samples under Examples Object :
# in a parameter
parameters:
- name: 'zip'
in: 'query'
type: 'string'
format: 'zip'
example:
$ref: 'http://foo.bar#/examples/zip-example'
Also, given the ongoing discussions about multiple representations/content in #762 the example or examples field should be added to content (was representations) content object, as examples and content objects should apply to parameters as well.
The text was updated successfully, but these errors were encountered:
Thanks @darrelmiller -- is it worth splitting that off into a separate PR, since the examples#636 is already merged but the representations/content PR #761 is still a proposal?
I looked at #636 again after @darrelmiller posted "Extending representations to parameters and headers" #762 . I think the Parameter Object section should include the (singular)
example
field under Fixed Fields.examples
are used in parameters in the samples under Examples Object :Also, given the ongoing discussions about multiple representations/content in #762 the
example
orexamples
field should be added tocontent
(wasrepresentations
) content object, as examples andcontent
objects should apply to parameters as well.The text was updated successfully, but these errors were encountered: