Skip to content

0.14.0

Compare
Choose a tag to compare
@casualjim casualjim released this 26 May 05:15
· 964 commits to master since this release
0.14.0
25e637c

Change Log

0.14.0 (2018-05-25)

Full Changelog

Implemented enhancements:

  • Multipart with no file causes InternalServerError #1400
  • Generated configure file has confusing directions. #1384
  • Quiet mode and log redirection #1370
  • Custom templating: custom templates not associated with non-asset dependencies #1362
  • How to generate a correct struct file name from "#/definitions/IPAM" #1344
  • Shutdown method on server do not close the server #1316
  • Enhancement: multiple instances of error messages for invalid spec #1307
  • Allow adding/overriding Consumers and Producers #1301
  • Invalid recursive type #1277
  • Examples are not validated #1231
  • Security definition order is not consistent between code generations #1214
  • Security only supports "OR" logic, not "AND" #1089
  • swagger validate: the need for better error messages #859
  • max int64 and uint64 handling #581
  • implement validation: unique scopes in security reference #14

Fixed bugs:

  • No validation is called when the object referring to the array type parameter #1537
  • Body params that are Arrays of Objects generate un-compilable code due to Validate method #1536
  • Allof with a polymorphic type can have conflicting field names #1532
  • Nested tuple is not validated #1487
  • Generated validation method miss some fields #1479
  • mixin removes securityDefinitions #1471
  • Invalid code generation with AdditionalProperties #1453
  • Simple aliased model type does not validate format #1437
  • Generator does not support polymorphic and addl props in the same type. #1409
  • responses with external $ref thrown nil pointer dereference #1406
  • Required properties are not validated when additionalProperties: true is provided #1397
  • No validation is called on body of array type parameter. #1392
  • server generation chokes on flattened definitions #1388
  • Default values for simple arrays generate code that does not compile #1378
  • Codegen fixture [discriminators] produces code that doesn't compile #1376
  • Generated server with form-data required=false evaluates file to nil #1373
  • --dump-data no longer working #1356
  • --skip-validator not work for swagger generate model #1354
  • [feedback] format mac does not work in swagger:strfmt #1348
  • Why not validate not required field even if it has format #1347
  • JSON marshaling and unmarshaling broken for object containing array of polymorphic types. #1336
  • Temporary files are not deleted on program termination #1331
  • Invalid receiver error for a response of type file #1327
  • ressource id type array leads to invalid generated code #1314
  • Generated client parameter does not set request body for arbitrary object. #1309
  • nested properties #1296
  • embedded spec discards information from original spec #1281
  • BodyParam of type array doesn't properly generate client code #1280
  • swagger flatten generates invalid spec #1270
  • Server generation: open 'xxx.json/yyy.json' no such file or directory [cascading $ref] #1259
  • Server generation: object has no key [cascading $ref] #1258
  • Type ref don't contain value check #1237
  • Examples are not validated #1231
  • Codegen generates invalid go code for additionalProperties: true #1198
  • Invalid server code generated for file response #1195
  • Adding length to a string with uri format will result i unworkable generated code #1191
  • Client requires non-required field for validation. #1187
  • Generated code does not handle 307 redirects properly #1170
  • Problem with datetime format #1084
  • Valid struct is not generated #1066
  • Client generation fails with object has no key "UserBase" #1065
  • Missing declarations and invalid code #1062
  • dot symbol in the path cause problems #1050
  • Missing fields in generated marshaler/unmarshaler when the object extends other objects #1042
  • referenced path item cause an error #1034
  • Response examples break definition references #1013
  • incorrect API response if using allof ref #979
  • swagger GSMA #951
  • Generated server marks all parameters in response as required #910
  • UUIDs do not appear to be validated #909
  • Resolver does not expand relative path references #890
  • Generator don't generates validation for embended models #866
  • Non-compiling generated code when parameter is array type with enum validation and underscore in name #863
  • handler in todo-list tutorial doesn't match the example code #858
  • Multiple validation errors results in only one validation being shown in response #667
  • Broken model code generated for polymorphic swagger types that have lists of non-concrete types. #607
  • Missing Validate method on polymorphic/discriminator types #606
  • Code generation error for binary stream producer, consumer #533

Closed issues:

  • swagger validate fails to complete when referencing another file #1535
  • Go vendors dependencies: Cannot use a generated client in a server #1534
  • Embedded spec is not flattened and won't work if there are external references. #1528
  • How to print the error message in response sample using "swagger:response" tag #1526
  • Response schema of type array being aliased #1524
  • Validating a Standard spec #1522
  • Client parameters don't set body when model is an enum #1513
  • Spec generation doesn't honour the ",string" JSON struct tag #1510
  • How to add static sections? #1509
  • Type mismatch in flatten source #1504
  • Not possible to hide individual struct fields #1497
  • strfmt.Datetime how to omit when empty, nil or time.Time{} #1491
  • Breaking change in Authenticator runtime #1488
  • Request model is not loading in swagger #1476
  • Unable to generate Swagger spec #1475
  • Passing empty slice as parameter results in panic #1462
  • malloc deadlock #1454
  • Support for optional auth? #1446
  • Optional SSN field performs no validation #1434
  • Possible to have models in Subdirectory? #1428
  • Do we have to specifically allow HEAD requests? #1426
  • How to pass TLS structure from net.HttpRequest into my handler? #1423
  • Undefined variable "filterI" presents after code generation when using nested "collectionFormat": "csv" #1414
  • New feature to allow Parameters section #1404
  • flatten command remove the empty security properties #1396
  • Getting duplicate Definitions under 0.13 #1385
  • Add Title generation for info part of spec. #1382
  • package and file name contain underscore (after a change in go-swagger) #1380
  • match for the market the limit of the new system with esi #1374
  • Standard library packages not found #1359
  • Why is vendor folder still version controlled? #1352
  • Newbie needs help with wiring server-side handlers #1351
  • The generate server command sorts the Operations but not the Models. #1349
  • Compilation failure from pestore example #1346
  • Improper UnmarshalJSON of polymorphic object contained in another object #1341
  • Generated client ignores application/x-www-form-urlencoded and uses multipart. #1332
  • can't compile generated server code for "file" in requests #1330
  • Improper import for a models directory placed in a subdirectory #1326
  • Make generated client take an io.Reader for parameters of type file #1325
  • Additional struct inserted when using allOf and an inline definition compared to 0.9.0 #1323
  • External References Aren't Expanded for Models #1322
  • How to define multiple content-type for one API #1319
  • Using go-swagger to generate other artifacts using custom templates not working from 0.12.0 #1312
  • unit test output is too verbose #1299
  • Master broken g8f4ad4c #1293
  • Issue with folded paths #1292
  • server generate : can't run custom template in operationGroups #1290
  • .security in body must be of type array: "null" #1286
  • Stream server problem #1278
  • custom templating: need the target path as base import #1274
  • improve error handling in generator #1272
  • Feature Request: Renaming interface method from handle to actual method name #1271
  • generate client errors out because of a nullable field in a definition #1265
  • Command line option to specify copyright does not work in long mode #1263
  • Code generation fails when swagger description property includes text "*/" #1254
  • Changing SwaggerUI #1250
  • Codegen gives SIGSEGV #1238
  • Go-swagger v0.12.0 - invalid memory address or nil pointer dereference #1171
  • Generating spec pulls in unused enumeration types from Protobuf-generated files #1149
  • How the Response Sample was Executeing? #1144
  • migrate to use net.Context #96

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator