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

OpenAPI 3.x.y - Parameter Object, style field allowed values #2355

Open
char0n opened this issue Dec 8, 2022 · 0 comments
Open

OpenAPI 3.x.y - Parameter Object, style field allowed values #2355

char0n opened this issue Dec 8, 2022 · 0 comments

Comments

@char0n
Copy link
Member

char0n commented Dec 8, 2022

We currently only have linting rule to check for the value type. Better rule will be to have explicit allowed values that this field can be assigned.

Allowed values: form, simple

OpenAPI spec excerpt that defines validation rules depending on context:

Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.

Related #4645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant