github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/codegen/keep-spec-order.yml (about) 1 swagger: '2.0' 2 info: 3 description: Test for keep spec order 4 version: 0.0.1 5 title: Test for keep spec order 6 schemes: 7 - http 8 paths: 9 /keep/order: 10 get: 11 summary: Test for keep spec order 12 description: Test for keep spec order 13 consumes: 14 - application/json 15 produces: 16 - application/json 17 responses: 18 '200': 19 description: successful operation 20 schema: 21 $ref: '#/definitions/abctype' 22 23 definitions: 24 abctype: 25 type: object 26 properties: 27 ccc: 28 type: string 29 bbb: 30 type: string 31 aaa: 32 type: string 33 inner-object: 34 type: object 35 properties: 36 inner-ccc: 37 type: string 38 inner-bbb: 39 type: string 40 inner-aaa: 41 type: string