Skip to content

OpenAPI Generator 3.1.0 has been released!

Compare
Choose a tag to compare
@wing328 wing328 released this 06 Jul 15:39
· 9514 commits to master since this release
100ec44

Thanks for more than 50+ PRs from the OpenAPI Generator community, we've released 3.1.0 (minor release), which contains breaking changes with fallbacks. Please refer to the migration guide when upgrading from OpenAPI Generator v3.0.x.

General

  • Sanitize pipe in var name (#461)
  • Bug fix: The values for @Produces annotation were not separated by a comma (#445)
  • Mark postProcessOperations(Map) as deprecated (#431)
  • Mock generator for tests (#429)
  • Obtain the example value from examples (#419)
  • ModelUtils: isMap only if additionalProperties is a Schema (#410)
  • Improve generation of README which has long description (#400)
  • Fix alias to map in the model's properties (#360)

Go

  • [Golang][client] update test dependencies Client: Go Enhancement: CI/Test (#468)
  • [Golang][client] fix file suffix for _test.go (#449)
  • Minor improvement to Go client generator, move test case (#430)
  • [Golang][client] fix undefined: localVarFile (#382)
  • [Golang] Fix Null pointer exception in toVarName (#377)
  • [Golang][client] fix RFC-3339 date-time query param (#325)

Kotlin

  • Fix some Kotlin formatting issues and make source more Kotlin like (#427)

Java

  • [Java] Add support for Spring 5 WebClient as new library (#435)
  • [Java] option for the prefix of boolean getters (#432)
  • [Java] version in the generated README dependent from the java8 option (#380)
  • [Java] Support for Integer, Long values in enum (#75)

PHP

  • [PHP] Remove unnecessary IF statement (#421)

Ruby

  • [Ruby] Make rake tasks required to publish gem available (#424)

TypeScript

  • [typescript][angular] Feature/model suffix (#418)
  • [typescript][angular] basePath through injected config (#367)
  • Restructure TypeScript Node generation into separate files (PHNX-1041) (#363)

Here are enhancements and bug fixes for the server generators:

C# Server

  • [aspnetcore] Add processing of Port defined in spec (#368)

Java Server

  • [java-jaxrs] Fix paths when using useTags=true in java-jersey (#215), (#437)
  • [java-jaxrs] New variable {{commonPath}} (#437)

PHP Server

  • [Slim] Improve codebase decouple (#438)
  • [Slim] Refactoring (#402)

Ruby Server

  • Eliminate MySQL dependency of Rails 5 stub server (#279)