Skip to content

Releases: eManPrague/swagger-codegen

2.0.1 (2020-03-10)

10 Mar 05:42
Compare
Choose a tag to compare

Fixed

  • Fix of an error Could not generate api file List is empty caused if endpoint has no parameters after removing all from
    parameter removeOperationParams (occurred if this parameter is present).

2.0.0 (2020-03-09)

09 Mar 16:04
Compare
Choose a tag to compare
  • Introduced a new config parameter ignoreEndpointStartingSlash to ignore endpoint's starting slash in generated
    Retrofit API service class. See IgnoreStartingSlashLambda for more details.
  • Introduced a new lambda IgnoreStartingSlashLambda ({{#lambda.ignoreStartingSlash}}{{paramName}}{{/lambda.ignoreStartingSlash}})
    which removes word minus in a fragment if it's in it.
  • For rest of changes see all 2.0.0-xx changelog messages.

2.0.0-rc03 (2019-02-18)

18 Feb 16:07
Compare
Choose a tag to compare

Fixed

  • Fix of critical bug when removeOperationParams is used, then api function is not generated it correctly.

2.0.0-rc02 (2020-02-18)

18 Feb 16:00
d7138df
Compare
Choose a tag to compare

Added

  • Option to remove specific parameters from operations:
"removeOperationParams" to arrayOf("X-Access-Token", "Accept-Language", ...)

2.0.0-rc01 (2020-02-05)

05 Feb 04:37
Compare
Choose a tag to compare

Changed

  • OpenApi generator updated to release v4.2.3
  • Task configs can have all values null.
  • Generator is safe with null parameters.

Added

  • Enable multiple configuration files in one swagger task (see README.md).
  • Tasks now contain additionalProperties setting (see README.md).

2.0.0-alpha02 (2020-01-21)

21 Jan 07:24
Compare
Choose a tag to compare

Added

  • Introduced a new labda RemoveMinusTextFromNameLambda ({{#lambda.removeMinusText}}{{paramName}}{{/lambda.removeMinusText}}) which removes word minus in a fragment if it's in it.
  • New property to remove minus word from the header's property name: additionalProperties["removeMinusTextInHeaderProperty"] = true. By default false will be used.

Fixed

  • The modelNameSuffix has been added twice to generated code. It was caused by migration to OpenApi (this bug has been fixed in OpenApi, so we removed our fix.)

2.0.0-alpha01 (2020-01-17)

21 Jan 05:39
288d299
Compare
Choose a tag to compare
  • Migrated from Swagger to OpenApi generator (https://github.com/OpenAPITools/openapi-generator).
  • Merged Retrofit and Room generator together.
  • Empty data class is defined as a String type alias.
  • Changed anonymous enum names from * to NUMBER*.
  • Added support for Room 2 (androidx).
  • Added option to change array of composed to array of object (kotlin.Any).
  • Added option to generate primitive aliases.

1.0.0 (2019-06-25)

21 Jan 05:37
Compare
Choose a tag to compare
  • Initial version based on the Swagger generators