-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Questions about schemas for multipart and application/x-www-form-urlencoded request bodies #2282
Comments
@hkosova I reworked a lot of that section in PR #2200 for OAS 3.1. I'm not sure I addressed these questions but you might want to take a look at the changes as things might show up differently now. As for my personal thoughts off the top of my head:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
oops - commented on / closed the wrong issue |
@OAI/tsc review request: I'm not quite sure what to do with this. Part of it is addressed by recent changes - we note that the correlation is by object property. Although I'm not quite sure I say outright anywhere that nothing else could possibly work. As for making it more clear that a schema is required- I'm not entirely sure it is? See the question about how the lack of schema would be treated in my comment above. |
1. The Special Considerations for multipart Content section says:
Please consider including this requirement in the description of Media Type Object.
schema
, where it can be easily found.2. Is
schema
also required forapplication/x-www-form-urlencoded
request bodies?3. All
multipart/*
andapplication/x-www-form-urlencoded
examples in the spec use schemas withtype: object
, where schemaproperties
define individual form fields. Does this mean thattype: object
is the only allowed schematype
for these media types? If yes, please consider mentioning this explicitly somewhere. If not, how would other schematypes
work here?The text was updated successfully, but these errors were encountered: