github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/1487/fixture-moreAddProps.yaml (about) 1 2 --- 3 consumes: 4 - "application/json" 5 produces: 6 - "application/json" 7 swagger: "2.0" 8 info: 9 description: "various patterns of additionalProperties" 10 title: "fixture for additionalProperties" 11 version: "1.0.0" 12 paths: 13 /models: 14 get: 15 description: "no description" 16 tags: 17 - "testcgen" 18 summary: "many model variations" 19 operationId: "modelOp" 20 responses: 21 default: 22 description: "Generic Out" 23 definitions: 24 trial: 25 type: "object" 26 properties: 27 a1: 28 type: "string" 29 format: "date-time" 30 additionalProperties: 31 type: "object" 32 properties: 33 discourse: 34 type: "string" 35 hoursSpent: 36 type: "number" 37 additionalProperties: true 38 additionalTransitiveRefedObjectThing: 39 type: "object" 40 properties: 41 thisOneNotRequired: 42 type: "integer" 43 maximum: 10 44 additionalProperties: 45 type: "object" 46 properties: 47 prop1: 48 type: "object" 49 properties: 50 thisOneNotRequiredEither: 51 type: "integer" 52 maximum: 20 53 additionalProperties: 54 type: "object" 55 properties: 56 a1: 57 type: "string" 58 format: "date-time" 59 b1: 60 type: "string" 61 format: "date" 62 additionalProperties: true 63 additionalProperties: 64 type: "object" 65 properties: 66 discourse: 67 type: "string" 68 hoursSpent: 69 type: "number" 70 additionalProperties: true 71 additionalTransitiveRefedThing: 72 type: "object" 73 properties: 74 thisOneNotRequired: 75 type: "integer" 76 maximum: 10 77 additionalProperties: 78 type: "array" 79 uniqueItems: true 80 items: 81 type: "object" 82 properties: 83 thisOneNotRequiredEither: 84 type: "integer" 85 maximum: 20 86 additionalProperties: 87 type: "object" 88 properties: 89 a1: 90 type: "string" 91 format: "date-time" 92 b1: 93 type: "string" 94 format: "date-time" 95 additionalProperties: 96 type: "object" 97 properties: 98 discourse: 99 type: "string" 100 hoursSpent: 101 type: "number" 102 additionalProperties: true