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

Tags are optional but roboswag fails on missing tags #34

Closed
bhirsz opened this issue Aug 13, 2022 · 1 comment · Fixed by #51
Closed

Tags are optional but roboswag fails on missing tags #34

bhirsz opened this issue Aug 13, 2022 · 1 comment · Fixed by #51
Labels
bug Something isn't working

Comments

@bhirsz
Copy link
Member

bhirsz commented Aug 13, 2022

Editied - I was under wrong impression how the code works. We're parsing the endpoints and then using tag attribute to store them in unique list. If the tags are missing, the code will fail. It still requires deeper analysis.

@bhirsz
Copy link
Member Author

bhirsz commented Aug 20, 2022

If the tags are missing, we will now generate endpoint class names from API paths. The first part of the path will become endpoint class name (for example GET /users/user will become Users.py with def get_user() method).

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

Successfully merging a pull request may close this issue.

1 participant