github.com/w3security/vervet/v5@v5.3.1-0.20230618081846-5bd9b5d799dc/testdata/merge_test_dst.yaml (about) 1 components: 2 schemas: 3 Foo: 4 type: object 5 properties: 6 color: 7 type: string 8 enum: ["red", "green", "blue"] 9 dimension: 10 type: array 11 items: 12 type: number 13 strange: 14 type: boolean 15 Baz: 16 type: object 17 properties: 18 other: 19 type: boolean 20 parameters: 21 Foo: 22 in: path 23 name: foo2 24 required: true 25 schema: 26 type: string 27 Baz: 28 in: path 29 name: baz 30 required: true 31 schema: 32 type: string 33 headers: 34 Foo: 35 schema: 36 type: string 37 Baz: 38 schema: 39 type: string 40 requestBodies: 41 Foo: 42 required: true 43 content: 44 application/json: 45 schema: 46 $ref: '#/components/schemas/Foo' 47 Baz: 48 required: true 49 content: 50 application/json: 51 schema: 52 $ref: '#/components/schemas/Baz' 53 responses: 54 '200': 55 content: 56 application/vnd.api+json: 57 schema: 58 $ref: '#/components/schemas/Foo' 59 '202': 60 content: 61 application/vnd.api+json: 62 schema: 63 $ref: '#/components/schemas/Baz' 64 securitySchemes: 65 Foo: 66 type: http 67 scheme: basic 68 Baz: 69 type: http 70 scheme: basic 71 examples: 72 Foo: 73 value: foo-natured 74 Baz: 75 value: bazil