github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/hack/codegen-fixtures.yaml (about) 1 # 2 # codegen CI configuration file 3 # 4 #- dir: {directory where to fetch specs (*.yaml, *.yml, *.json)} 5 # spec: {a specific spec file to fetch} 6 # skipped: 7 # knownFailure: true // won't generate anything 8 # knownValidationFailure: true // adds --skip-validation option 9 # knownClientFailure: true // won't generate a client 10 # knownExpandFailure: true // won't generate with expanded spec 11 # knownFlattenMinimalFailure: true // won't generate with --flatten=minimal but only with --flatten=full 12 # 13 # Entries which resolve with same spec will be merged. 14 # 15 - dir: fixtures/bugs/1621 16 spec: fixture-1621.yaml 17 - dir: fixtures/bugs/1774 18 spec: def_api.yaml 19 - dir: fixtures/bugs/1767 20 spec: fixture-1767.yaml 21 - dir: fixtures/bugs/1260 22 spec: fixture-realiased-types.yaml 23 - dir: fixtures/bugs/1260 24 spec: test3-bis-swagger.yaml 25 - dir: fixtures/bugs/1260 26 spec: test3-swagger.yaml 27 - dir: fixtures/bugs/1260 28 spec: test3-ter-swagger-flat.json 29 - dir: fixtures/bugs/1260 30 spec: test3-ter-swagger.yaml 31 - dir: fixtures/bugs/1851 32 spec: fixture-1851.yaml 33 - dir: fixtures/bugs/2092 34 spec: fixture-2092.yaml 35 # List all specs in fixtures/codegen explicitly, because some (the longest running) 36 # are picked by the "canary" CI job. 37 - dir: fixtures/codegen 38 spec: billforward.discriminators.yml 39 - dir: fixtures/codegen 40 spec: issue-1066.yaml 41 - dir: fixtures/codegen 42 spec: issue-1388.yaml 43 - dir: fixtures/codegen 44 spec: keep-spec-order.yml 45 - dir: fixtures/codegen 46 spec: shipyard.yml 47 - dir: fixtures/codegen 48 spec: simplesearch.yml 49 - dir: fixtures/codegen 50 spec: swagger-codegen-tests.json 51 - dir: fixtures/codegen 52 spec: tasklist.basic.yml 53 - dir: fixtures/codegen 54 spec: todolist.allparams.yml 55 - dir: fixtures/codegen 56 spec: todolist.discriminators.yml 57 - dir: fixtures/codegen 58 spec: todolist.enums.yml 59 - dir: fixtures/codegen 60 spec: todolist.responses.yml 61 - dir: fixtures/codegen 62 spec: todolist.simple-fixed.yml 63 - dir: fixtures/codegen 64 spec: todolist.simpleform.yml 65 - dir: fixtures/codegen 66 spec: todolist.simpleheader.yml 67 - dir: fixtures/codegen 68 spec: todolist.simplepath.yml 69 - dir: fixtures/bugs/909 70 - dir: fixtures/bugs/1437 71 - dir: fixtures/bugs/1314 72 - dir: fixtures/bugs/1392 73 - dir: fixtures/bugs/1277 74 - dir: fixtures/bugs/1536 75 - dir: fixtures/bugs/1487 76 - dir: fixtures/bugs/1571 77 - dir: fixtures/bugs/957 78 - dir: fixtures/bugs/1614 79 - dir: fixtures/bugs/931 80 - dir: fixtures/bugs/1683 81 - dir: fixtures/bugs/1796 82 - dir: fixtures/bugs/1839 83 - dir: fixtures/bugs/1719 84 - dir: fixtures/bugs/1859 85 - dir: fixtures/bugs/1490 86 - dir: fixtures/bugs/973 87 skipped: 88 skipModel: true # no models to generate here 89 - dir: fixtures/bugs/1020 90 - dir: fixtures/bugs/1339 91 - dir: fixtures/bugs/1893 92 - dir: fixtures/bugs/1518 93 - dir: fixtures/bugs/1993 94 - dir: fixtures/bugs/1937 95 - dir: fixtures/bugs/2050 96 - dir: fixtures/bugs/1557 97 - dir: fixtures/bugs/1663 98 - dir: fixtures/bugs/2136 99 - dir: fixtures/bugs/2111 100 - dir: fixtures/bugs/2223 101 - dir: fixtures/bugs/2113 102 # 103 # The following specs fail to generate: 104 # - existing-model.yml requires pregeneration (not supported yet by this script) 105 # - issue72: model works with --skip-validation. Invalid spec (duplicate operationID) 106 # - todolist.simple.yml: invalid default values put on purpose for UT (provided fixed version for testing) 107 # - fixture-basetypes.yaml: exhibits some known edge case failures with discriminator (e.g. using a base type in tuple...) 108 # - fixture-polymorphism.yaml: idem 109 - dir: fixtures/codegen 110 spec: existing-model.yml 111 skipped: 112 knownFailure: true 113 - dir: fixtures/codegen 114 spec: issue72.json 115 skipped: 116 knownFailure: true 117 - dir: fixtures/codegen 118 spec: todolist.simple.yml 119 skipped: 120 knownFailure: true 121 - dir: fixtures/bugs/1487 122 spec: fixture-basetypes.yaml 123 skipped: 124 knownFailure: true 125 - dir: fixtures/bugs/1487 126 spec: fixture-polymorphism.yaml 127 skipped: 128 knownFailure: true 129 # The following ones requires some checks to be skipped: 130 - spec: todolist.enums.yml 131 skipped: 132 knownValidationFailure: true 133 - spec: todolist.enums.flattened.json 134 skipped: 135 knownValidationFailure: true 136 - spec: todolist.models.yml 137 skipped: 138 knownValidationFailure: true 139 - spec: todolist.schemavalidation.yml 140 skipped: 141 knownValidationFailure: true 142 - spec: fixture-844-variations.yaml 143 skipped: 144 knownValidationFailure: true 145 - spec: fixture-allOf.yaml 146 skipped: 147 knownValidationFailure: true 148 - spec: fixture-errors.yaml 149 skipped: 150 knownValidationFailure: true 151 - spec: fixture-itching.yaml 152 skipped: 153 knownValidationFailure: true 154 - spec: fixture-tuple.yaml 155 skipped: 156 knownValidationFailure: true 157 - spec: fixture-simple-tuple.yaml 158 skipped: 159 knownValidationFailure: true 160 - spec: todolist.arrayform.yml 161 - spec: todolist.arrayquery.yml 162 - spec: todolist.url.basepath.yml 163 skipped: 164 knownClientFailure: true 165 - spec: todolist.url.simple.yml 166 skipped: 167 knownClientFailure: true 168 - spec: swagger-codegen-tests.json 169 - spec: fixture-1414.json 170 - spec: fixture-909-3.yaml 171 - spec: fixture-909-4.yaml 172 - spec: fixture-909-5.yaml 173 - spec: fixture-909-6.yaml 174 - spec: gentest2.yaml 175 - spec: gentest3.yaml 176 - spec: gentest.yaml 177 - spec: fixture-1437-4.yaml 178 - spec: fixture-1392-2.yaml 179 - spec: fixture-1392-3.yaml 180 # known fixtures not supporting expand mode (not including the discriminator case). 181 # Normally, this is because of duplicate names constructed during codegen of anonymous structures. 182 # This should be solved with proper analysis of names before codegen. 183 - spec: todolist.enums.flattened.json 184 dir: fixtures/codegen 185 skipped: 186 knownExpandFailure: true 187 - spec: fixture-1479.yaml 188 dir: fixtures/bugs/1479 189 skipped: 190 knownExpandFailure: true 191 - spec: fixture-1767.yaml 192 dir: fixtures/bugs/1767 193 skipped: 194 knownExpandFailure: true 195 knownFlattenMinimalFailure: true 196 - dir: fixtures/bugs/2342 197 skipped: 198 skipModel: true 199 - dir: fixtures/enhancements/2163 200 skipped: 201 skipServer: true 202 skipClient: true 203 skipExpand: true 204 - dir: fixtures/enhancements/1771 205 skipped: 206 skipModel: true 207 skiClient: true 208 skipExpand: true 209 - dir: fixtures/bugs/2330 210 skipped: 211 skipModel: true 212 - spec: fixture-2258.yaml 213 dir: fixtures/bugs/2258 214 - spec: fixture-2137.yaml 215 dir: fixtures/bugs/2137 216 skipped: 217 skipModel: true 218 - spec: swagger.json 219 dir: fixtures/bugs/1898 220 - spec: 2969.json 221 dir: fixtures/bugs/2969 222 skipped: 223 skipExpand: true 224 skipModel: true 225 skipFullFlatten: true 226 includeCLI: true 227 - spec: 2650.yaml 228 dir: fixtures/bugs/2650 229 skipped: 230 skipExpand: true 231 skipModel: true 232 skipFullFlatten: true 233 includeCLI: true 234 - spec: https://raw.githubusercontent.com/docker/engine/master/api/swagger.yaml 235 skipped: 236 skipExpand: true 237 skipModel: true 238 skipFullFlatten: true 239 includeCLI: true