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

Render enum type in API Reference #701

Open
Isabella-Veloso opened this issue Jun 19, 2024 · 0 comments
Open

Render enum type in API Reference #701

Isabella-Veloso opened this issue Jun 19, 2024 · 0 comments
Assignees

Comments

@Isabella-Veloso
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, when the schema of a response body includes the enum field, the Developer Portal renders the column Type as enum and discards the type in the schema. Example: endpoint Get list of the possible facets for a given query (print).

Describe the solution you'd like
It would be nice if our UI could show both information, enum and type.

Describe alternatives you've considered
The UI could show both values side by side, as in enum | string or string | enum. Similar to nullable fields: string | null.

Additional context
None, thanks.

image

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

No branches or pull requests

2 participants