|
| 1 | +openapi: 3.1.1 |
| 2 | +info: |
| 3 | + title: OpenAPI 3.1.1 external example |
| 4 | + version: 1 |
| 5 | +components: |
| 6 | + schemas: |
| 7 | + ExternalSchemaA: |
| 8 | + description: External schema (A) |
| 9 | + $ref: './external-shared.json#/ExternalSharedModel' |
| 10 | + ExternalSchemaB: |
| 11 | + description: External schema (B) |
| 12 | + $ref: './external-shared.json#/ExternalSharedModel' |
| 13 | + ExternalSchemaC: |
| 14 | + description: External schema (C) |
| 15 | + $ref: './external-shared.json#/ExternalSharedModel' |
| 16 | + ExternalSchemaPropertyA: |
| 17 | + description: External schema property (A) |
| 18 | + type: object |
| 19 | + properties: |
| 20 | + - $ref: './external-shared.json#/ExternalSharedModelWithUuid' |
| 21 | + ExternalSchemaPropertyB: |
| 22 | + description: External schema property (B) |
| 23 | + type: object |
| 24 | + properties: |
| 25 | + - $ref: './external-shared.json#/ExternalSharedModelWithUuid' |
| 26 | + ExternalSchemaPropertyFromComponent: |
| 27 | + description: External schema property from component (A.id) |
| 28 | + type: object |
| 29 | + properties: |
| 30 | + - $ref: '#/components/schemas/ExternalSchemaA/properties/id' |
| 31 | + ExternalSchemaPropertyD: |
| 32 | + description: External schema property with duplicate refs (D) |
| 33 | + type: object |
| 34 | + properties: |
| 35 | + - $ref: './external-shared.json#/ExternalSharedModelWithUuid' |
| 36 | + - $ref: './external-shared.json#/ExternalSharedModelWithUuid' |
| 37 | + ExternalSchemaExternalProp: |
| 38 | + description: External schema property via external property ref (id) |
| 39 | + type: object |
| 40 | + properties: |
| 41 | + - $ref: './external-shared.json#/ExternalSharedModel/properties/id' |
| 42 | + ExternalSchemaExternalPropAlias: |
| 43 | + description: Alias to external property via component property ref |
| 44 | + type: object |
| 45 | + properties: |
| 46 | + - $ref: '#/components/schemas/ExternalSchemaExternalProp/properties/0' |
| 47 | + ExternalDoubleNestedProp: |
| 48 | + description: External double nested prop via property ref |
| 49 | + type: object |
| 50 | + properties: |
| 51 | + - $ref: './external-shared.json#/ExternalNested/properties/inner/properties/deep' |
| 52 | + ExternalDoubleNestedNumeric: |
| 53 | + description: External double nested numeric properties |
| 54 | + type: object |
| 55 | + properties: |
| 56 | + - $ref: './external-shared.json#/ExternalNestedNumeric/properties/0/properties/1' |
0 commit comments