This repository was archived by the owner on Jun 11, 2024. It is now read-only.
Get @apiParam allowed values from variable #1394
fabrizzio-gz
started this conversation in
Ideas
Replies: 1 comment
-
But that would mean that the source code should also be parsed and understood by the apidoc parser! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Example:
And have that parsed in the Apidoc as parameter
numbers
with allowed values1
,2
, and3
.Of course, any other option besides
${var}
to pass a variable to the inline documentation would be fine.Beta Was this translation helpful? Give feedback.
All reactions