Back to Go Swagger

Change Log

notes/v0.20.0.md

0.33.213.5 KB
Original Source

Change Log

v0.20.0 (2019-08-18)

Full Changelog

Implemented enhancements:

  • How To mark route deprecated? #2042
  • Pass OAuth2 scheme name to handler and add it on the request context #2041
  • Add Payload\(\) \*models.TheError to error types #2018
  • Use first tag for client package #1950
  • Add support for types of the new mongo-go-driver #1854
  • Bug or new logic to generate code with --with-flatten=minimal - by default ? #1704
  • Support for integer enums in go-swagger #1672
  • File parameter generated incorrectly in client code #1020
  • Add a diff command #151
  • Keep object's parameters order as specified in swagger spec definition #125

Fixed bugs:

  • unknown type for field interface{}: *types.Interface #2011
  • Unknown type for field: *types.Map #2007
  • New scanner (go module aware) may randomly fail #1997
  • Server crashes when polymorphic value is absent in post body #1993
  • Mixin host issue #1965
  • Two different parameter names derived from specification #1952
  • Swagger generates and uses different models in case of definition name starts with Digit #1937
  • Generating uncompilable code when response code >= 512 #1893
  • swagger mixin bug #1886
  • swagger mixin sends all output to stderr #1878
  • Why is docker image "latest" NOT aligned with the latest tag? #1873
  • Duplicate constants when referencing definitions with enums in another files #1851
  • swagger generate spec throws a lot of errors with golang 1.11 #1671
  • panic: interface conversion: interface {} is *mypackage.PostActionsDefault, not *mypackage.PostActionsCreated #1518
  • Client parameters don't set body when model is an interface #1490
  • Generated client parameter does not set request body for schema type string format binary #1339
  • Client Request Parameters - lint error #973

Closed issues:

  • swagger failed to validate type: file in formData parameters. #2039
  • stratoscale client template breaks on multiline descriptions #2036
  • No useful documentation exists for spec generation #2032
  • swagger:strfmt annotation incompatible with slice type #2030
  • Can go-swagger support this json tag? Id int64 "json:id,string"? #2029
  • int64 "json:id,string" #2028
  • go1.11 generate spec doesn't respect exclude #2023
  • Cannot use dynamic certificate selection on servers #2016
  • unknown flag `b' swagger generate #2005
  • Swagger generate spec has broken on Gitea #2001
  • swagger:ignore not working #1994
  • Getting started guide #1989
  • Working with type: object in handlers #1967
  • Generated and customized go-swagger server compiles, executes and initializes correctly, but does not handle any requests #1953
  • Query parameter can't be named 'append' when enum appearing also #1948
  • generate spec with ordered keys #1946
  • Generate property with empty string ('') #1945
  • Unable to deserialize array int json: cannot unmarshal string into Go struct. Failed due to array having integer and string. Fix in comments #1932
  • How do I access the response headers? #1918
  • POSTing to API that returns a 201 with a location header produces: (*interface {}) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" #1917
  • Response struct goes under headers #1908
  • dep ensure -v report models is missing #1835
  • Installing with go get and go modules = on #1786
  • Swagger generate: can not import package #1784
  • It can not stop with recursive struct #1773
  • Basic auth in stratoscale templates #1765
  • Generate spec does not work with Go Modules #1681

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator