Skip to content

Conversation

@linelson
Copy link
Contributor

Description

Makes validation for parameters of format uuid case-insensitive so that valid guids are no longer rejected.

Motivation and Context

Fixes #4099

How Has This Been Tested?

  • Added test for uuid validation containing uppercase letters
  • Ran the swagger ui locally and tested entering a guid containing upper case letters for a parameter with a uuid format

Screenshots (if appropriate):

Types of changes

  • No code changes (changes to documentation, CI, metadata, etc)
  • Dependency changes (any modification to dependencies in package.json)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@shockey shockey merged commit b3e80cc into swagger-api:master Jan 12, 2018
@shockey
Copy link
Contributor

shockey commented Jan 12, 2018

thanks @linelson!

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.

Parameter validation for the uuid format should not be case sensitive

2 participants