Back to Go Swagger

Change Log

notes/v0.5.9.md

0.33.210.7 KB
Original Source

Change Log

0.6.0 (2016-05-23)

Full Changelog

Implemented enhancements:

  • x-nullable: false doesn't affect required values #458
  • Refactor package structures #420

Fixed bugs:

  • No validator code call for array items if they are other models. #524
  • escaped slashes in path ids are incorrectly decoded #522
  • Multipart form generates unnecessary variable that lead to compile error #511
  • Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. #499
  • Recursive definition causes stack overflow #483
  • Fail and log on errors adding user-defined CLI flags #470
  • Specification basePath is not respected #465
  • Incorrect case in generated model code referencing model name #460
  • Presence of required nested object is not validated #455
  • Incorrectly generated Marshaller causes unlimited recursive Marshal calls #454
  • Optional nested objects are not validated #453
  • Swagger generate oauth2 scope #449
  • Panic on form validation for mutlipart upload #438
  • x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x #433
  • Incorrect unmarshal code generated for polymorphic object parent #423

Closed issues:

  • Using user defined logger instead of fmt.Printf #528
  • where is the spec validator tested #525
  • Integer enum validation always fail #523
  • Skip parameter fields with json tag json:"-" #520
  • Typo multipart/form-data as "Mulitpart" #518
  • Generate models for internal use only #516
  • Parameters template bug leads to errors in header validation #494
  • types don't match: expect map key string or int get: bool #490
  • go swagger generated code is not fully golint-able #487
  • Validator treats array in example as invalid data #478
  • Unnecessary "required" validation for array items #472
  • Add hints for the type names generated by swagger #471
  • go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" #434
  • Add a configuration layer for TLS. #430

Merged pull requests: