Back to Go Swagger

Changelog

notes/v0.22.0.md

0.33.210.5 KB
Original Source

Changelog

v0.22.0 (2020-02-02)

Full Changelog

Implemented enhancements:

  • Enable x-go-name in parameters #2167
  • How to generate a model with JSON ',string' directive for an int64 properties? #2144
  • Swagger tags starting with integer make formatting errors in operations #2111
  • Swagger Tags interfere with imported packages #2057
  • Issue generating servers which have 'api' in their name #1971
  • Support go modules #1724
  • generate spec: json.RawMessage doesn't represent the intent. #1622
  • Generated code don't pass on go vet #1573
  • Could Client be a concrete implementation of an interface? #1138
  • Unable to override operations package name #1049

Fixed bugs:

  • Build fails due to duplicate methods #2199
  • Enum value "" generating code that does not compile #2139
  • byte type string causes "models/test_swagger.go:43:6: k declared and not used" #2136
  • x-omitempty handling is incorrect with $ref #2116
  • Flatten (and generate) fails intermittently #2092
  • panic: Invalid schema provided to SchemaValidator: object has no key "default" #2063
  • Data Race between Serve() and Shutdown() #1943
  • doc.go fails to compile when passed a certain invalid mime-type #1663
  • Multiple media parameters on producers generate code that does not compile #1377

Closed issues:

  • Swagger adds to a spec not exported parameters fields #2164
  • generate client library: definition "" contains duplicate properties: [] (or crash when --skip-validation) #2156
  • model will not be generate if it's used as a map's value type in response body #2145
  • How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? #2134
  • why generate operation is required name option? #2123
  • Endless loop in swagger generate spec #2122
  • Add ability for server pre-shutdown hook #2108
  • File type in form-data #2105
  • add parameters on router #2104
  • unrecognized import path "dmitri.shuralyov.com/gpu/mtl" #2094
  • docs/guideline is outdated #2091
  • generated code can not pass gofmt #2089
  • faq_model.md link to more info about date is broken #2088
  • v0.21.0 not published on bintray #2085
  • Please create a new release #2080
  • Randomly getting peer connection reset error with the generated client #1954
  • swagger generate server exception #1882
  • Please add GPG Public Key to deb repo #1812

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator