Releases: quarkiverse/quarkus-openapi-generator
Quarkus OpenAPI Generator - v1.0.1
Release to fix a bug introduced in the 1.0.0 version.
What's Changed
- Add CodeQL workflow for GitHub code scanning by @lgtm-com in #195
- Control when path has not 'src' in it by @gwydionmv in #197
- Use dynamic port where possible in tests that use WireMock by @dritoferro in #198
New Contributors
- @lgtm-com made their first contribution in #195
- @dritoferro made their first contribution in #198
Full Changelog: 1.0.0...1.0.1
Quarkus OpenAPI Generator - v1.0.0
Hooray! This is the first release of the OpenAPI Generator extension that we consider to be a stable release. Thank you all for your contributions and for being part of the community!
We will keep the 1.x branch compatible with Quarkus 2.x and the 2.x (future) branch to Quarkus 3.x. Stay tuned!
What's Changed
- Removing unnecessary Optional in SpecItemConfig for type and import mappings by @Orbifoldt in #165
- (fix) Break Integration Tests into small sets of use cases by @ricardozanini in #166
- Bump wiremock-jre8 from 2.34.0 to 2.35.0 by @dependabot in #169
- [issue-39] Added feature to ignore code generation for specific OpenA… by @hbelmiro in #171
- Bump javaparser-core to 3.24.8 by @dependabot in #178
- Enabling custom data and datetime mappings by @Orbifoldt in #182
- Bump quarkus.version to 2.14.2.Final by @dependabot in #186
- [issue-183] Fixed order of imports by @hbelmiro in #184
- Change base directory + add include property by @gwydionmv in #179
New Contributors
- @gwydionmv made their first contribution in #179
Full Changelog: 0.12.0...1.0.0
Quarkus OpenAPI Generator - v0.12.0
What's Changed
- Bump wiremock-jre8 from 2.33.2 to 2.34.0 by @dependabot in #142
- Adding typemapping option to the generator by @Orbifoldt in #143
- Bump slf4j-ext to 2.0.3 by @dependabot in #149
- Bump microprofile-fault-tolerance-api to 4.0.2 by @dependabot in #153
- Bump handlebars-jackson2 from 4.3.0 to 4.3.1 by @dependabot in #156
- Bump quarkus.version to 2.13.3.Final by @dependabot in #160
- Import org.eclipse.microprofile.rest.client.annotation.RegisterProvider when custom-register-providers is used by @YassinHajaj in #158
New Contributors
- @YassinHajaj made their first contribution in #158
Full Changelog: 0.11.0...0.12.0
Quarkus OpenAPI Generator - v0.11.0
What's Changed
- Fix broken example link in documentation by @stephan-strate in #133
- Use original operationId in annotated GeneratedMethod by @cristianonicolai in #137
- Bump quarkus.version from 2.12.0.Final to 2.12.1.Final by @dependabot in #138
- Fix #135: Exclude deprecated operations by @melloware in #136
New Contributors
- @stephan-strate made their first contribution in #133
Full Changelog: 0.10.0...0.11.0
Quarkus OpenAPI Generator - v0.10.0
What's Changed
- fix(): missing @JsonCreator annotation for inner enum by @Leibnizhu in #106
- Fixed possible NullPointerException in OpenApiGeneratorStreamCodeGen.java by @hbelmiro in #105
- feat(#108): support custom register provider by @Leibnizhu in #111
- Bump javaparser-core from 3.24.2 to 3.24.4 by @dependabot in #115
- Add badges inline with other quarkiverse projects by @melloware in #119
- Bump slf4j-ext from 1.7.36 to 2.0.0 by @dependabot in #122
- Allow to skip spec validation by @cristianonicolai in #123
- Bump quarkus.version from 2.11.2.Final to 2.12.0.Final by @dependabot in #126
- Removed import that might cause compilation error due to ambiguity by @hbelmiro in #102
- Avoid stackoverflow in AuthenticationProvider by @cristianonicolai in #129
- Add indexed name auth provider by @cristianonicolai in #130
New Contributors
- @Leibnizhu made their first contribution in #106
- @melloware made their first contribution in #119
- @cristianonicolai made their first contribution in #123
Full Changelog: 0.9.0...0.10.0
Quarkus OpenAPI Generator - v0.9.0
Breaking Change!
In this release, we introduce a change that might break a few setups. If your OpenAPI spec file doesn't have a default server
defined, the generated REST stub won't have a baseUrl
defined. The annotation will look like this for a file named myspec.yaml
:
@RegisterRestClient(configKey="myspec_yaml")
public interface MyService {
// content suppressed
}
So to properly configure the endpoint URL, you can use the quarkus.rest-client.myspec_yaml.url
configuration key of the Quarkus REST Client extension.
Before this change, the default baseUri
annotation parameter would be http://localhost
. Please update your configuration if you expect to have localhost
as your default server endpoint.
What's Changed
- Using full path as config key by @fjtirado in #94
- Fix auth property in readme by @martinweiler in #96
- Do not put a default url if there is not server url by @fjtirado in #95
- Update readme by @fjtirado in #97
Full Changelog: 0.8.0...0.9.0
Quarkus OpenAPI Generator - v0.8.0
In this new version, we have a few bug fixes and minor enhancements. See the details below.
What's Changed
- minor wording fix by @maxandersen in #83
- Bump quarkus.version from 2.9.2.Final to 2.10.0.Final by @dependabot in #84
- Add @ApplicationScoped to generated api to allow mocking api for testing by @miguelchico in #87
- Define the default authentication method to be used by OpenAPI by @martinweiler in #90
- Add capability to use additionalModelTypeAnnotations by @miguelchico in #89
- If the file name is a path and not just a name, dirs should be created by @fjtirado in #92
New Contributors
- @maxandersen made their first contribution in #83
- @miguelchico made their first contribution in #87
- @martinweiler made their first contribution in #90
Full Changelog: 0.7.0...0.8.0
Quarkus OpenAPI Generator - v0.7.0
Breaking Change!!
Please be aware that the properties from the authentication use cases have changed. Now it's prefixed by quarkus.openapi-generator
instead of the generated package FQDN. Please see the Authentication Support section in our README for more details.
What's Changed
- Add property to remove JsonNullable import by @antssilva96 in #74
- Add token propagation support by @wmedvede in #68
- Bump quarkus.version from 2.8.2.Final to 2.9.1.Final by @dependabot in #73
- Add token propagation support by @wmedvede in #78
- Bump assertj-core from 3.22.0 to 3.23.0 by @dependabot in #79
- Bump quarkus.version from 2.9.1.Final to 2.9.2.Final by @dependabot in #76
- Bump assertj-core from 3.23.0 to 3.23.1 by @dependabot in #80
New Contributors
Full Changelog: 0.6.1...0.7.0
Quarkus OpenAPI Generator - v0.6.1
Small patch to fix a typo in the API template.
What's Changed
- Fix typo/bug in CompositeAuthenticationProvider template by @antssilva96 in #67
New Contributors
- @antssilva96 made their first contribution in #67
Full Changelog: 0.6.0...0.6.1
Quarkus OpenAPI Generator - v0.6.0
Breaking Change!!
Please update your configuration to reflect the new change in the basePackage
property. If you have a filename with non-alphabetical characters, you must replace them with an underscore (_
). For example, if your filename is petstore-api.json
, your property should be named:
quarkus.openapi-generator.codegen.spec.petstore_api_json.base-package=org.acme.openapi
No quotes are needed anymore.
Additionally, any other property that requires the filename is now following this pattern. Please see the documentation for more details.
What's Changed
- Bump wiremock-jre8 from 2.33.1 to 2.33.2 by @dependabot in #56
- Standardize the openapi spec id in configs and add baseUri to the RegisterRestClient by @ricardozanini in #60
- Fix #40 - Add verbose codegen configuration and instructions for maven runs by @ricardozanini in #61
- Fix #62 - add filename if using default basePackage by @ricardozanini in #63
Full Changelog: 0.5.0...0.6.0