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
Design: https://www.figma.com/proto/IkNc59AU2JN5Kc1qbd2AiB/Elements?node-id=97%3A517&viewport=2242%2C501%2C1.1532831192016602&scaling=min-zoom
As a docs consumer, I can choose from a list of enums and examples when filling values in the request parameters.
If a parameter has enums defined, make the parameter value input a dropdown. See the "location" property in the linked design.
If the parameter is a number, use a number input so that the user can only input a number. text box is editable.
If a parameter has examples, for now just set the initial value to to the first example (no dropdown or anything). text box is editable
If a parameter has a default value, show the default in the placeholder. text box is editable.
If the value is a boolean, use a dropdown with "Not Set", "True", and "False" as the options.
The text was updated successfully, but these errors were encountered:
Link to subfeature: https://stoplightio.productboard.com/feature-board/planning/features/5803930
Sorry, something went wrong.
Examples:
If there's a single example, show a textbox pre-populated with the single example.
If there are multiple ones, show a dropdown that allows you to still input a custom value.
@marcelltoth I think we unblocked this one by splitting the work in half, did we make a new issue for that? Anything holding up the merge?
@philsturgeon
mallachari
Successfully merging a pull request may close this issue.
Design: https://www.figma.com/proto/IkNc59AU2JN5Kc1qbd2AiB/Elements?node-id=97%3A517&viewport=2242%2C501%2C1.1532831192016602&scaling=min-zoom
As a docs consumer, I can choose from a list of enums and examples when filling values in the request parameters.
If a parameter has enums defined, make the parameter value input a dropdown. See the "location" property in the linked design.
If the parameter is a number, use a number input so that the user can only input a number. text box is editable.
If a parameter has examples, for now just set the initial value to to the first example (no dropdown or anything). text box is editable
If a parameter has a default value, show the default in the placeholder. text box is editable.
If the value is a boolean, use a dropdown with "Not Set", "True", and "False" as the options.
The text was updated successfully, but these errors were encountered: