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

All swagger generation fails if one spec is missing #2

Open
slipset opened this issue Mar 11, 2020 · 0 comments
Open

All swagger generation fails if one spec is missing #2

slipset opened this issue Mar 11, 2020 · 0 comments
Assignees

Comments

@slipset
Copy link
Contributor

slipset commented Mar 11, 2020

problem is that if I write something like

(s/def ::foo (s/coll-of ::bar))

{:swagger-content: {::swagger/parameters {:body ::foo}}}

Swagger docs for all endpoints will fail because I forgot to define ::bar.
This leads me to believe that we're missing a try/catch somewhere.

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

No branches or pull requests

2 participants