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

swagger-spec-validator 2.2.0 breaks the test project #139

Closed
slurms opened this issue Jun 6, 2018 · 2 comments
Closed

swagger-spec-validator 2.2.0 breaks the test project #139

slurms opened this issue Jun 6, 2018 · 2 comments
Assignees
Labels
bug Bug report/fix

Comments

@slurms
Copy link

slurms commented Jun 6, 2018

Unsure if this is an issue with the test project specifically, but just pointing it out.

Running with swagger-spec-validator 2.2.0 under Python 3.6 with the instructions for running the test project in the README. After making a request for localhost:8000/cached/swagger/?format=openapi, the view gives this error:
{"errors": {"ssv": "Duplicate operationId: todo_yetanother_read"}, "message": "spec validation failed"}.

I can confirm that when using swagger-spec-validator 2.1.0 it works as expected.

@slurms
Copy link
Author

slurms commented Jun 6, 2018

This is because of the nested url structure here: https://github.com/axnsan12/drf-yasg/blob/master/testproj/todo/urls.py#L16.

@axnsan12 axnsan12 added the bug Bug report/fix label Jun 16, 2018
@axnsan12 axnsan12 self-assigned this Jun 16, 2018
@slurms
Copy link
Author

slurms commented Jun 16, 2018

👍 thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report/fix
Projects
None yet
Development

No branches or pull requests

2 participants