Skip to content

Conversation

@xavierjefferson
Copy link

When scanning parameter list for path parameters, match parameter names on a case insensitive basis. Otherwise some parameters won't match if the schema isn't 100% correct

I had an openapi operation with path "/api/ocrforms/{formid}/active" but the parameter collection had name "formId". This was from a third party API that I didn't create.

Nswag either needs to work in case insensitive mode or inject "TODO" or some exception code to make it obvious when path segments don't match parameter names for a given operation.

…es on a case insensitive basis. Otherwise some parameters won't match if the schema isn't 100% correct
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.

1 participant