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

Adjust Parameter conflict criteria #16

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

charjr
Copy link
Collaborator

@charjr charjr commented Apr 21, 2024

This PR is the result of OpenAPI-Specification #3737

spaceDelimited and pipeDelimited should not conflict in most cases as they will have their parameter names stated first, i.e.
tags=cat%20shorthair%20calico
tags=cat|shorthair|calico

I also added a stricter requirement on deepObject to invalidate an api for allowing it to be anything other than object. This is because it does not make sense to use it for anything else and you cannot pick a "backup style" so how would we resolve it?

I've left spaceDelimited and pipeDelimited primitives as "acceptable" since, though not technically valid, it would look identical to type:array with one item in it.

@carnage carnage merged commit 2e935d4 into main Apr 25, 2024
29 checks passed
@carnage carnage deleted the fix-style-conflict-check branch April 25, 2024 14:02
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.

None yet

2 participants