Skip to content

Adjust Parameter conflict criteria#16

Merged
carnage merged 1 commit intomainfrom
fix-style-conflict-check
Apr 25, 2024
Merged

Adjust Parameter conflict criteria#16
carnage merged 1 commit intomainfrom
fix-style-conflict-check

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.

@charjr charjr force-pushed the fix-style-conflict-check branch from 0474b86 to e5cd7f5 Compare April 23, 2024 10:07
@carnage carnage merged commit 2e935d4 into main Apr 25, 2024
@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.

2 participants