-
Notifications
You must be signed in to change notification settings - Fork 35
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
Improve swagger docs #449
Improve swagger docs #449
Conversation
For the build perhaps you could deploy a SNAPSHOT version in clojars and use this one? Perhaps lein-git-down does not work in the CI as one would expect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
test/ctim/test_helpers/core.cljc
Outdated
[flanders.schema :as fschema] | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[flanders.schema :as fschema] | |
) | |
[flanders.schema :as fschema]) |
https://github.com/advthreat/iroh/issues/8946
Via flanders changes, adds examples to the json docs and swagger metadata.
We reuse
:default
to populate examples here. This has undesirable effects on the documentation. I reviewed the existing documentation around defaults, and many were not appropriate for user-facing docs. The closest to useful was that tlp defaults to green, but this is configurable in CTIA so that is debatable.Instead of developing another flanders feature, I disabled default values from printing in the docs. We might want to revisit this if we actually use defaults in a user-facing way (not just generating examples).