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

Validator fails to recognize parameters separated by dot in paths #157

Closed
dang-gyg opened this issue Jun 19, 2020 · 1 comment
Closed

Validator fails to recognize parameters separated by dot in paths #157

dang-gyg opened this issue Jun 19, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@dang-gyg
Copy link
Contributor

When there is a path with dot between parameters like this:
/img/{entity_type}/{file_name}/{format}.{ext}

Then the validator fails with 2 issues:

/paths[/img/{entity_type}/{file_name}/{format}.{ext}] | Path template "/img/{entity_type}/{file_name}/{format}.{ext}" is not valid.
/paths[/img/{entity_type}/{file_name}/{format}.{ext}]/get/parameters[3] | Path Parameter "ext" not found in path template.

@EricWittmann
Copy link
Member

Fixed by #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants