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

Parameters with specs loose the description #135

Closed
cjohansen opened this issue Oct 2, 2018 · 1 comment
Closed

Parameters with specs loose the description #135

cjohansen opened this issue Oct 2, 2018 · 1 comment
Labels

Comments

@cjohansen
Copy link

If you specify the description for a parameter, and then use ::swagger/parameters to provide a spec for the same parameter, there is no way to include the description, as it is forcefully dropped by this line: https://github.com/metosin/spec-tools/blob/master/src/spec_tools/swagger/core.cljc#L98

I would expect the description to not be overwritten by an empty description.

@ikitommi ikitommi added the bug label Oct 2, 2018
@ikitommi
Copy link
Member

ikitommi commented Oct 2, 2018

It's a bug, would you like to make a PR?

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

No branches or pull requests

2 participants