Skip to content
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

more schema fixes #2746

Merged
merged 1 commit into from
Nov 11, 2021
Merged

Conversation

karenetheridge
Copy link
Member

@karenetheridge karenetheridge commented Oct 13, 2021

schema fixes for the "parameter" and "header" objects

  • name is required (for parameter)
  • the map under content must contain only one entry

as per https://spec.openapis.org/oas/v3.1.0#fixed-fields-9

@karenetheridge karenetheridge force-pushed the ether/more-schema-fixes-202110 branch 2 times, most recently from 9ce7cf3 to 933a78e Compare October 13, 2021 00:27
@jdesrosiers
Copy link
Contributor

Spec Reference: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameterObject

In the Parameter Object, the "name" property should be required and the "content" property object map should have only one entry.

- name is required (for parameter)
- the map under content must contain only one entry

as per https://spec.openapis.org/oas/v3.1.0#fixed-fields-9
@webron webron merged commit 20f4bf2 into OAI:main Nov 11, 2021
@karenetheridge karenetheridge deleted the ether/more-schema-fixes-202110 branch November 12, 2021 01:13
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

Successfully merging this pull request may close these issues.

4 participants