mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fix: rename ObjectDescription to SchemaDefinition as discussed
This commit is contained in:
parent
173f7df55a
commit
4496622438
|
@ -66,11 +66,11 @@ tags:
|
|||
- name: pet_model
|
||||
x-displayName: The Pet Model
|
||||
description: |
|
||||
<ObjectDescription schemaRef="#/components/schemas/Pet" />
|
||||
<SchemaDefinition schemaRef="#/components/schemas/Pet" />
|
||||
- name: store_model
|
||||
x-displayName: The Order Model
|
||||
description: |
|
||||
<ObjectDescription schemaRef="#/components/schemas/Order" exampleRef="#/components/examples/Order" showReadOnly={true} showWriteOnly={true} />
|
||||
<SchemaDefinition schemaRef="#/components/schemas/Order" exampleRef="#/components/examples/Order" showReadOnly={true} showWriteOnly={true} />
|
||||
x-tagGroups:
|
||||
- name: General
|
||||
tags:
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user