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