We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The description of parameters in Swagger is not very helpful, e.g.
A value of type string that will substitute ?_name in the original query
How about adding a decorator to give an optional description of parameters? So with
#+ parameters: #+ name: name of the person
The description could be
name of the person (string)
The text was updated successfully, but these errors were encountered:
Hi @nichtich !
Thanks for your suggestion. This would indeed be a good improvement.
I guess it would be nice if we could combine this with the defaults decorator.
defaults
#+ parameters: #+ name: #+ description: name of the person #+ default: "Bob"
Are there other properties that would be good to define for a parameter? Maybe enumerate as well?
enumerate
@albertmeronyo what do you think?
Sorry, something went wrong.
Adding example values would also be helfpul.
We could have something like this:
#+ parameters: #+ name: #+ description: name of the person #+ default: "Bob" #+ enumerate: ["Alice", "Bob", "Charles"] #+ example: "Alice"
The only thing we need to decide is if this syntax is complementary or a replacement of the current syntax for enumerate and default decorators.
default
No branches or pull requests
The description of parameters in Swagger is not very helpful, e.g.
How about adding a decorator to give an optional description of parameters? So with
The description could be
The text was updated successfully, but these errors were encountered: