Skip to content

Releases: oapi-codegen/oapi-codegen

Bug fixes and generic objects

03 May 23:43
Compare
Choose a tag to compare
  • Fixed a bug with the json "omitempty" tag.
  • Support generic objects via map[string]interface{} and generic values via interface{}

Client code generation

26 Apr 23:54
Compare
Choose a tag to compare

This is a major change which the client side boilerplate which interoperates with the server side.

Fix crash in parameter components

19 Apr 22:19
Compare
Choose a tag to compare

Parameters defined by components which were stored in /components/parameters caused a crash. Fixed.

Improve parameter handling

15 Apr 23:58
Compare
Choose a tag to compare

Most parameter types, except for cookies, now work properly.

Make inline swagger nicer

09 Apr 23:50
Compare
Choose a tag to compare

Split up inlined data lines to make pedantic tools happy.

Inline swagger spec

09 Apr 22:44
Compare
Choose a tag to compare

Inlined the swagger spec into the generated code.

You can get the Swagger object by calling GetSwagger(). This will be used in the future for intelligent unmarshaling of data based on the spec.

Remove some log messages

22 Mar 20:55
Compare
Choose a tag to compare

When our middleware logs its own messages, it interleaves with whatever logging the user is doing, so just set errors on the context instead.

Minor bug fix

15 Mar 23:09
Compare
Choose a tag to compare

Fixed an issue of having unused imports.