Skip to content

Latest commit

 

History

History
105 lines (63 loc) · 2.6 KB

CHANGES.md

File metadata and controls

105 lines (63 loc) · 2.6 KB

changes to the go-restful-openapi package

v2+ versions are using the Go module of go-restful v3+

v2.11.0

  • allow providing example value to a property via "example" tag (#124), thanks to Try Ajitiono [email protected]

v2.10.2

  • fix handle time.Time field #120 (#121)

v2.10.1

  • Add type SchemaType to use in Return calls allowing for specification of a raw type value and format (#118)

v2.9.2

  • fix unused type because embedded stuct (#113)

v2.9.1

  • fix set array data format (#96)

v2.9.0

  • Add property x-go-name support (#90)
  • Add support to set swagger Schemes field (#91)

v2.8.0

[2022-01-04]

  • refine and fix GoLowerCamelCasedNameHandler bug (#88)
  • Add missing fields of response header object (#89)
  • support generate field name with config (#86)

Thanks again to slow-zhang and Sergey Vilgelm

v2.7.0

[2021-12-08]

  • fix some typos (#85)
  • use PossibleValues in favor of AllowedValues (#84)
  • PostBuildSwaggerSchema handler for each model (#83)
  • Use int64 format for time.Duration type (#82)

Special thanks to contributions of Sergey Vilgelm [email protected]

[2021-09-20] v2.6.0

[2021-09-20] v2.5.0

  • add support for format tag (#72, askingcat)

[2021-09-18] v2.4.0

  • add support for vendor extensions (#)

[2020-02-10] v2.3.0

- Support for custom attribute "x-nullable" (#70)

v1.4.0 + v2.2.0

- Allow maps as top level types and support maps to slices (#63)

v1.3.0 + v2.1.0

- add json.Number handling (PR #61)
- add type alias support for primitives (PR #61)

v1.2.0

- handle map[string][]byte (#59)

v1.1.0 (v0.14.1)

- Add Host field to Config which is copied into Swagger object
- Enable CORS by default as per the documentation (#58)
- add go module
- update dependencies

v0.13.0

- Do not use 200 as default response, instead use the one explicitly defined.
- support time.Duration
- Fix Parameter 'AllowableValues' to populate swagger definition

v0.12.0

- add support for time.Duration
- Populate the swagger definition with the parameter's 'AllowableValues' as an enum (#53)
- Fix for #19 MapModelTypeNameFunc has incomplete behavior
- Merge paths with existing paths from other webServices (#48)
- prevent array param.Type be overwritten in the else case below (#47)

v0.11.0

- Register pointer to array/slice of primitives as such rather than as reference to the primitive type definition. (#46)
- Add support for map types using "additional properties" (#44) 

<= v0.10.0

See git log.