Skip to content

Releases: davidmoten/openapi-codegen

0.2.4

06 Dec 07:57

Choose a tag to compare

Enhancements

  • support generator type springboot4 for use with openapi-codegen-maven-pluging (currently behaves the same as springboot3)
  • add JDK 25 to the CI matrix

Full Changelog: 0.2.3...0.2.4

0.2.3

04 Dec 00:07

Choose a tag to compare

Enhancements

  • Spring boot 4 support by @davidmoten in #377
  • bump spring 6.x version from 6.2.8 to 6.2.14, spring boot 3.x version from 3.5.3 to 3.5.8
  • bump slf4j from 2.0.7 to 2.0.17, junit from 5.13.4 to 5.14.1, jacoco from 0.8.13 to 0.8.14
  • bump swagger-parser from 2.1.35 to 2.1.36, snakeyaml-engine from 2.10 to 3.0.1, commonmark from 0.21.0 to 0.27.0
  • Bump jackson.version from 2.19.2 to 2.20.0 by @dependabot[bot] in #343
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.32 to 2.1.33 by @dependabot[bot] in #344
  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.6 to 4.8.6.7 by @dependabot[bot] in #345
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.71 to 3.0.72 by @dependabot[bot] in #346
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4 by @dependabot[bot] in #347
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.33 to 2.1.34 by @dependabot[bot] in #348
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.36 to 2.2.37 by @dependabot[bot] in #350
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.72 to 3.0.73 by @dependabot[bot] in #349
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.14.1 by @dependabot[bot] in #352
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.3 to 3.12.0 by @dependabot[bot] in #351
  • Bump publishing.version from 0.8.0 to 0.9.0 by @dependabot[bot] in #353
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.15.0 to 7.16.0 by @dependabot[bot] in #354
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.5 to 5.5.1 by @dependabot[bot] in #355
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.37 to 2.2.38 by @dependabot[bot] in #356
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.73 to 3.0.74 by @dependabot[bot] in #358
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.38 to 2.2.39 by @dependabot[bot] in #360
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.34 to 2.1.35 by @dependabot[bot] in #361
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.27.0 to 3.28.0 by @dependabot[bot] in #362
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.74 to 3.0.75 by @dependabot[bot] in #363
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.15.1 to 3.15.2 by @dependabot[bot] in #364
  • Bump org.openapitools:jackson-databind-nullable from 0.2.7 to 0.2.8 by @dependabot[bot] in #365
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.15.1 to 3.15.2 by @dependabot[bot] in #366
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.39 to 2.2.40 by @dependabot[bot] in #367
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.16.0 to 7.17.0 by @dependabot[bot] in #368
  • Bump jackson.version from 2.20.0 to 2.20.1 by @dependabot[bot] in #369

Full Changelog: 0.2.2...0.2.3

0.2.2

28 Aug 01:24

Choose a tag to compare

Enhancements

  • use Nonnull annotation on discriminator interface by @davidmoten in #342
  • use Nonnull annotation to enable static analysis by @davidmoten in #328
  • Bump jackson.version from 2.18.2 to 2.19.1 by @dependabot[bot] in #323
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.69 to 3.0.70 by @dependabot[bot] in #327
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.70 to 3.0.71 by @dependabot[bot] in #329
  • Bump org.junit.jupiter:junit-jupiter from 5.13.2 to 5.13.3 by @dependabot[bot] in #330
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.30 to 2.1.31 by @dependabot[bot] in #331
  • Bump org.snakeyaml:snakeyaml-engine from 2.9 to 2.10 by @dependabot[bot] in #332
  • Bump maven.version from 3.9.10 to 3.9.11 by @dependabot[bot] in #333
  • Bump jackson.version from 2.19.1 to 2.19.2 by @dependabot[bot] in #334
  • Bump org.junit.jupiter:junit-jupiter from 5.13.3 to 5.13.4 by @dependabot[bot] in #335
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.34 to 2.2.35 by @dependabot[bot] in #336
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.31 to 2.1.32 by @dependabot[bot] in #337
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.11.3 by @dependabot[bot] in #338
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.35 to 2.2.36 by @dependabot[bot] in #339
  • Bump org.openapitools:jackson-databind-nullable from 0.2.6 to 0.2.7 by @dependabot[bot] in #340
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.14.0 to 7.15.0 by @dependabot[bot] in #341

Full Changelog: 0.2.1...0.2.2

0.2.1

28 Jun 01:31

Choose a tag to compare

Full Spring Boot 3 support (server side) [BREAKING CHANGE]

There was a simple blocker for Spring Boot 3 server generation, being a change to the signature (return type) of ResponseEntity.getStatusCode() between Spring 5 and Spring 6.

No changes to use of generated server-side code expected, this is mostly about dependency changes.

Changes include:

  • replace artifact openapi-codegen-spring-boot-runtime with Spring Boot version-specific artifacts:
    • openapi-codegen-spring-boot-2-runtime
    • openapi-codegen-spring-boot-3-runtime
  • addition of a new module openapi-codegen-spring-boot-core holding shared classes (is depended on by the above two dependencies so you don't need to explicitly add it)
  • migrate from slf4j 1.x to 2.x (no apparent problem running Spring Boot 2 test server)
  • copy all Spring Boot 2 tests and update for Spring Boot 3 (particularly to use jakarta.servlet-api and multipart support changes).
  • add springBoot2 and springBoot3 to accepted generatorTypes in the configuration of openapi-codegen-maven-plugin and deprecated spring2, spring3 (they still work as aliases for springBoot2 and springBoot3)
  • trim dependencies (for example javax.annotation only required for Spring Boot 2, and jackson deps were available transitively)
  • ensure just junit 5 used (there were a couple of junit 4 references)
  • remove unused junit-extras dependency
  • update openapi-codegen-pet-store-example project to use Spring Boot 3 (check that out to confirm the appropriate project setup for yourself)

There is only one breaking change for client generation being the move from slf4j 1.x to 2.x.

What's else has changed

  • Bump io.swagger.parser.v3:swagger-parser from 2.1.29 to 2.1.30 by @dependabot in #317
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.68 to 3.0.69 by @dependabot in #318
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.33 to 2.2.34 by @dependabot in #319
  • Bump org.junit.jupiter:junit-jupiter from 5.13.1 to 5.13.2 by @dependabot in #321
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.13.0 to 7.14.0 by @dependabot in #322
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.26.0 to 3.27.0 by @dependabot in #324
  • fix javavdoc plugins for mixed 8 and 17 by @davidmoten in #325

Full Changelog: 0.1.29...0.2.1

0.1.29

20 Jun 23:49

Choose a tag to compare

Enhancements

  • avoid deprecated ResponseEntity.getStatusCodeValue method for SpringBoot 3 compat by @davidmoten in #316
  • Bump org.codehaus.mojo:build-helper-maven-plugin from 3.6.0 to 3.6.1 by @dependabot in #309
  • Bump maven.version from 3.9.9 to 3.9.10 by @dependabot in #310
  • Bump org.junit.jupiter:junit-jupiter from 5.13.0 to 5.13.1 by @dependabot in #311
  • Bump commons-fileupload:commons-fileupload from 1.5 to 1.6.0 by @dependabot in #312
  • Bump com.github.davidmoten:sonatype-parent from 0.2.3 to 0.2.4 by @dependabot in #313
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.32 to 2.2.33 by @dependabot in #314

Full Changelog: 0.1.28...0.1.29

0.1.28

04 Jun 22:51

Choose a tag to compare

Enhancements

  • add description tags to pom.xml files
  • update to use central-publishing-maven-plugin to publish
  • trivial lambda simplifications
  • bump sonatype-parent from 0.1 to 0.2.3
  • intellij code inspection fixes in generator module
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.26 to 2.1.27 by @dependabot in #302
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.30 to 2.2.31 by @dependabot in #303
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.31 to 2.2.32 by @dependabot in #304
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.27 to 2.1.28 by @dependabot in #305
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.4 to 5.5 by @dependabot in #306
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.28 to 2.1.29 by @dependabot in #307
  • Bump org.junit.jupiter:junit-jupiter from 5.12.2 to 5.13.0 by @dependabot in #308

Full Changelog: 0.1.26...0.1.28

0.1.26

29 Apr 00:15

Choose a tag to compare

Bug fix

  • fix Content-Type response header extraction so tolerates not present or different case (#301)

Enhancements

  • check for blank string as well as nulls for field names and operationIds
  • improve error messsage when OpenAPI object not parsed
  • improve error message for ref not found
  • warn about empty parameter names but continue
  • support repeated primitive types in oneOf (does validation) (#295)
  • add failOnParseErrors to Main options
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.25 to 2.1.26 by @dependabot in #291
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.2 to 5.4.3 by @dependabot in #292
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 by @dependabot in #293
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 by @dependabot in #294
  • support repeated inline primitive types in oneOf (does validation) by @davidmoten in #295
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.29 to 2.2.30 by @dependabot in #296
  • Bump org.junit.jupiter:junit-jupiter from 5.12.1 to 5.12.2 by @dependabot in #297
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.3 to 5.4.4 by @dependabot in #298
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.12.0 to 7.13.0 by @dependabot in #300
  • fix content-type header extraction so tolerates not present or different case by @davidmoten in #301

Full Changelog: 0.1.25...0.1.26

0.1.25

21 Mar 06:14

Choose a tag to compare

Enhancements

Generator

  • add support for maxClassNameLength parameter in plugin and executable jar by @davidmoten in #290
  • Bump org.snakeyaml:snakeyaml-engine from 2.8 to 2.9 by @dependabot in #276
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.24 to 2.1.25 by @dependabot in #277

Build

  • Bump io.swagger.core.v3:swagger-annotations from 2.2.27 to 2.2.28 by @dependabot in #275
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.9.0 to 7.11.0 by @dependabot in #278
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.66 to 3.0.67 by @dependabot in #279
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.1 to 5.4.2 by @dependabot in #280
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.15.0 to 3.15.1 by @dependabot in #266
  • Bump org.junit.jupiter:junit-jupiter from 5.11.4 to 5.12.0 by @dependabot in #283
  • Bump org.apache.felix:maven-bundle-plugin from 5.1.9 to 6.0.0 by @dependabot in #264
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 by @dependabot in #282
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 by @dependabot in #284
  • Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.3 to 3.1.4 by @dependabot in #285
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.11.0 to 7.12.0 by @dependabot in #286
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.67 to 3.0.68 by @dependabot in #287
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.28 to 2.2.29 by @dependabot in #288
  • Bump org.junit.jupiter:junit-jupiter from 5.12.0 to 5.12.1 by @dependabot in #289

Full Changelog: 0.1.23...0.1.25

0.1.23

13 Jan 23:52

Choose a tag to compare

Enhancements

Generation/Runtime

  • [BREAKING CHANGE] ensure java enum used for enum parameters #273 by @davidmoten in #274. Also shortens overly verbose generated name for parameters with complex/enum types
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.57 to 3.0.58 by @dependabot in #212
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.58 to 3.0.59 by @dependabot in #216
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.59 to 3.0.60 by @dependabot in #219
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.60 to 3.0.61 by @dependabot in #220
  • Bump org.snakeyaml:snakeyaml-engine from 2.7 to 2.8 by @dependabot in #240
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.3.1 to 5.4.1 by @dependabot in #247
  • bump jackson from 2.16.0 to 2.18.2 (jackson bugs now addressed) by @davidmoten in #256
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.22 to 2.1.23 by @dependabot in #249
  • Bump io.swagger.parser.v3:swagger-parser from 2.1.23 to 2.1.24 by @dependabot in #261

Build

  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.5.0 to 3.6.0 by @dependabot in #204
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 by @dependabot in #203
  • Bump maven.version from 3.9.7 to 3.9.8 by @dependabot in #205
  • Bump org.junit.jupiter:junit-jupiter from 5.10.2 to 5.10.3 by @dependabot in #207
  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.5.0 to 4.8.6.1 by @dependabot in #209
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.6.0 to 7.7.0 by @dependabot in #210
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 by @dependabot in #213
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.23.0 to 3.24.0 by @dependabot in #215
  • Bump org.junit.jupiter:junit-jupiter from 5.10.3 to 5.11.0 by @dependabot in #221
  • Bump org.springframework:spring-web from 5.3.37 to 5.3.39 by @dependabot in #222
  • Bump maven.version from 3.9.8 to 3.9.9 by @dependabot in #223
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.7.0 to 7.8.0 by @dependabot in #224
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.13.1 to 3.14.0 by @dependabot in #225
  • Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0 by @dependabot in #226
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.1 to 3.14.0 by @dependabot in #228
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.0 to 3.7.0 by @dependabot in #229
  • Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.5.0 by @dependabot in #231
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.24.0 to 3.25.0 by @dependabot in #232
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.5.0 by @dependabot in #233
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.10.0 by @dependabot in #234
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.22 to 2.2.23 by @dependabot in #236
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.14.0 to 3.15.0 by @dependabot in #237
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.61 to 3.0.62 by @dependabot in #238
  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.1 to 4.8.6.3 by @dependabot in #239
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.14.0 to 3.15.1 by @dependabot in #244
  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.3 to 4.8.6.5 by @dependabot in #245
  • Bump com.github.davidmoten:word-wrap from 0.1.12 to 0.1.13 by @dependabot in #246
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 by @dependabot in #248
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.8.0 to 7.9.0 by @dependabot in #250
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.7.0 to 3.8.0 by @dependabot in #251
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.23 to 2.2.25 by @dependabot in #252
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.25 to 2.2.26 by @dependabot in #262
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 by @dependabot in #253
  • Bump org.apache.maven.plugins:maven-site-plugin from 3.20.0 to 3.21.0 by @dependabot in #254
  • Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.2 to 3.1.3 by @dependabot in #230
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.62 to 3.0.64 by @dependabot in #257
  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.5 to 4.8.6.6 by @dependabot in #259
  • Bump org.apache.maven.plugins:maven-jxr-plugin from 3.5.0 to 3.6.0 by @dependabot in #263
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.25.0 to 3.26.0 by @dependabot in #265
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.11.1 by @dependabot in #267
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 by @dependabot in #268
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.26 to 2.2.27 by @dependabot in #269
  • Bump org.junit.jupiter:junit-jupiter from 5.11.0 to 5.11.4 by @dependabot in #270
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.64 to 3.0.65 by @dependabot in #271
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.65 to 3.0.66 by @dependabot in #272

Full Changelog: 0.1.22...0.1.23

0.1.22

16 Jun 10:35

Choose a tag to compare

Enhancements

Generation/Runtime

Build

  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.3.1 to 4.8.5.0 by @dependabot in #184
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.12.0 to 3.13.0 by @dependabot in #186
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.12.0 to 3.13.0 by @dependabot in #185
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.55 to 3.0.56 by @dependabot in #188
  • Bump io.swagger.core.v3:swagger-annotations from 2.2.21 to 2.2.22 by @dependabot in #189
  • Bump org.springframework:spring-web from 5.3.34 to 5.3.35 by @dependabot in #190
  • Bump org.openapitools:openapi-generator-maven-plugin from 7.5.0 to 7.6.0 by @dependabot in #191
  • Bump org.codehaus.mojo:build-helper-maven-plugin from 3.5.0 to 3.6.0 by @dependabot in #192
  • Bump org.springframework:spring-web from 5.3.35 to 5.3.36 by @dependabot in #193
  • Bump maven.version from 3.9.6 to 3.9.7 by @dependabot in #194
  • Bump io.swagger.codegen.v3:swagger-codegen-maven-plugin from 3.0.56 to 3.0.57 by @dependabot in #195
  • Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 by @dependabot in #196
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.0 to 3.13.1 by @dependabot in #198
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 by @dependabot in #197
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.13.0 to 3.13.1 by @dependabot in #199
  • Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.2 to 3.4.0 by @dependabot in #200
  • Bump org.apache.maven.plugins:maven-pmd-plugin from 3.22.0 to 3.23.0 by @dependabot in #201

Full Changelog: 0.1.20...0.1.22