Skip to content

Quarkus OpenAPI Generator - v0.9.0

Pre-release
Pre-release

Choose a tag to compare

@ricardozanini ricardozanini released this 30 Jun 11:20
· 751 commits to main since this release

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

Full Changelog: 0.8.0...0.9.0