Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Schema typo in server-variable for OpenAPI 3.1.0 #197

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
samdbmg opened this issue Mar 7, 2023 · 0 comments · Fixed by #198
Closed

Schema typo in server-variable for OpenAPI 3.1.0 #197

samdbmg opened this issue Mar 7, 2023 · 0 comments · Fixed by #198

Comments

@samdbmg
Copy link
Contributor

samdbmg commented Mar 7, 2023

I think there's a typo in the schema used for validating OpenAPI 3.1.0 specifications.

"descriptions": {
"type": "string"
}

Based on https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#server-variable-object this should be "description" instead of "descriptions" - I imagine the extra s is a typo when it was originally added.

I'll open a PR now.

samdbmg added a commit to samdbmg/openapi-spec-validator that referenced this issue Mar 7, 2023
samdbmg added a commit to samdbmg/openapi-spec-validator that referenced this issue Mar 7, 2023
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 a pull request may close this issue.

1 participant