We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e2aad0 commit 8303aaaCopy full SHA for 8303aaa
media/src/components/APIPage/APIDocument/ApiParamsDoc.tsx
@@ -24,6 +24,9 @@ export const ApiParamsDoc: React.FC<PontxParamsDocProps> = (props) => {
24
} as SemixJsonSchema;
25
if (props.parameters) {
26
props.parameters.forEach((param) => {
27
+ if(param.schema?.enumValueTitles && param.schema?.enum){
28
+ delete param.schema.enumValueTitles;
29
+ }
30
if (schema.properties) {
31
schema.properties[param.name] = {
32
...(param.schema || {}),
0 commit comments