Skip to content

Render enum type in API Reference #701

@Isabella-Veloso

Description

@Isabella-Veloso

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions