mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +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
|
- name: pet_model
|
||||||
x-displayName: The Pet Model
|
x-displayName: The Pet Model
|
||||||
description: |
|
description: |
|
||||||
<ObjectDescription schemaRef="#/components/schemas/Pet" />
|
<SchemaDefinition schemaRef="#/components/schemas/Pet" />
|
||||||
- name: store_model
|
- name: store_model
|
||||||
x-displayName: The Order Model
|
x-displayName: The Order Model
|
||||||
description: |
|
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:
|
x-tagGroups:
|
||||||
- name: General
|
- name: General
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -507,7 +507,7 @@ export function normalizeServers(
|
||||||
|
|
||||||
export const SECURITY_DEFINITIONS_COMPONENT_NAME = 'security-definitions';
|
export const SECURITY_DEFINITIONS_COMPONENT_NAME = 'security-definitions';
|
||||||
export const SECURITY_DEFINITIONS_JSX_NAME = 'SecurityDefinitions';
|
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 let SECURITY_SCHEMES_SECTION_PREFIX = 'section/Authentication/';
|
||||||
export function setSecuritySchemePrefix(prefix: string) {
|
export function setSecuritySchemePrefix(prefix: string) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user