Back to Go Swagger

V0.5.0

notes/v0.5.0.md

0.33.210.0 KB
Original Source

Full Changelog

Implemented enhancements:

  • No consumers and producers for "text/plain" in the client runtime #360
  • No consumers and producers for "application/xml" in the client runtime #359
  • Add http/unix socket transport #278
  • Clean up tutorial #275

Fixed bugs:

  • Basic auth doesn't compile #406
  • Recursive model definition causes infinite loop #399
  • No data fields in the response object #384
  • Validation code tries to compare a non-nullable with a nil value. #381
  • CLI help is printed twice. #375
  • Question - Expose the server port if a random port is used for the server #372
  • Expanding nested items is broken. #367
  • Incorrect type used for validator #363
  • Generated comments on model types and client operations don't begin with the type / operation name in some cases #356
  • Wrong enum type names in the client generator #352
  • panic: on array/collectionFormat + validation #351
  • Default value is not generated for boolean type. #350
  • Generated model results in broken build #340
  • API client has wrong package name #330
  • duplicate declarations on a naming colision #325
  • Validator treats parameter references as errors #321
  • Issue with parameters of type file in the client generator #320
  • Map of base type generates a map of *Interface instead of map of Interface #319
  • Models: do not generate pointers and omitempty if property is required #300

Closed issues:

  • Panic expanding responses that are a schema ref with circular refs #415
  • No way to hook code after flags are parsed but before request handling starts #403
  • Tagging a parameter with "pattern" doesn't seem to always have affect #369
  • Boolean parameters are generated into strings #346
  • Missing package swag in generated models #345
  • Wrong httpkit/validate package in generated model files #343
  • String param with binary format in body does not validate #341
  • Add support for tar, gzip #326
  • The generated import path has incorrect prefix #323
  • Some --skip-* flags not working #322
  • Support for cookies in the client runtime #308

Merged pull requests: