diff --git a/demo/openapi.yaml b/demo/openapi.yaml index 39669574..b7c1833a 100644 --- a/demo/openapi.yaml +++ b/demo/openapi.yaml @@ -66,11 +66,11 @@ tags: - name: pet_model x-displayName: The Pet Model description: | - + - name: store_model x-displayName: The Order Model description: | - + x-tagGroups: - name: General tags: diff --git a/src/utils/openapi.ts b/src/utils/openapi.ts index f4d9eb45..374fd70f 100644 --- a/src/utils/openapi.ts +++ b/src/utils/openapi.ts @@ -507,7 +507,7 @@ export function normalizeServers( export const SECURITY_DEFINITIONS_COMPONENT_NAME = 'security-definitions'; export const SECURITY_DEFINITIONS_JSX_NAME = 'SecurityDefinitions'; -export const SCHEMA_DEFINITION_JSX_NAME = 'ObjectDescription'; +export const SCHEMA_DEFINITION_JSX_NAME = 'SchemaDefinition'; export let SECURITY_SCHEMES_SECTION_PREFIX = 'section/Authentication/'; export function setSecuritySchemePrefix(prefix: string) {