Releases: quarkiverse/quarkus-openapi-generator
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
Quarkus OpenAPI Generator - v0.5.0
In this release, we've introduced support for OAuth2 authentication and upgraded to Quarkus 2.8.3.
What's Changed
- Bump wiremock-jre8 from 2.32.0 to 2.33.1 by @dependabot in #49
- Rearrange Integration Tests modules by @ricardozanini in #50
- Add support to OAuth2 by @ricardozanini in #52
- Bump quarkus.version to 2.8.2.Final by @dependabot in #53
- Adding custom properties to OpenApiSpecInputProvider by @ricardozanini in #54
Full Changelog: 0.4.1...0.5.0
Quarkus OpenAPI Generator - v0.4.1
A small change in the 0.4.x version to allow passing codegen context parameter to the OpenApiSpecInputProvider
interface.
What's Changed
Full Changelog: 0.4.0...0.4.1
Quarkus OpenAPI Generator - v0.4.0
In this release, we add support for the Circuit Breaker pattern, the ability to provide an Open API spec file as an input stream, and the support for multipart/form-data.
What's Changed
- Added Circuit Breaker feature by @hbelmiro in #20
- Add support to generate stubs from any InputStream by @ricardozanini in #37
- Adding multipart/form-data support by @Orbifoldt in #41
- Adding annotations for code mapping by @fjtirado in #44
- Fix #38 - Add option to skip generation of deprecated attributes by @ricardozanini in #45
New Contributors
- @Orbifoldt made their first contribution in #41
Full Changelog: 0.3.1...0.4.0
Quarkus OpenAPI Generator - v0.3.1
Small patch release to fix the latest one.
Quarkus OpenAPI Generator - v0.3.0
In this release, we fixed a bug in the Enum generation code.
What's Changed
- Specifying package for each api file should be optional. by @fjtirado in #24
- Fix #28 - Add Enum Outer Class template and values cache by @ricardozanini in #31
New Contributors
Full Changelog: 0.2.0...0.3.0