Skip to content

Parameter Object cleanup removed collectionFormat #754

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

Closed
pkriens opened this issue Aug 9, 2016 · 4 comments
Closed

Parameter Object cleanup removed collectionFormat #754

pkriens opened this issue Aug 9, 2016 · 4 comments

Comments

@pkriens
Copy link

pkriens commented Aug 9, 2016

Thanks for cleaning up Parameter Object by moving the body to RequestBodyObject, made sense.

However, the old spec allowed the collectionFormat (csv, multi, pipe, etc.) for parameters and this option is now gone. It is also not completely clear now how to validate a header/parameter against a schema object? Should it be treated as a primitive or can the header/parameter/cookie also contain JSON?

@pkriens
Copy link
Author

pkriens commented Aug 9, 2016

Notice that the example still contains collectionFormat

@webron
Copy link
Member

webron commented Aug 9, 2016

It's because it will be handled by #665 in a different way.

@jharmn
Copy link
Contributor

jharmn commented Sep 30, 2016

Actually collectionFormat still exists in the Items object. That said, it probably needs a revisit with parameter serialization strategy.
https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#items-object

@fehguy
Copy link
Contributor

fehguy commented Feb 1, 2017

See #804

@fehguy fehguy closed this as completed Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants