We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This works fine: @ApplicationPath("v2") @OpenAPIDefinition(info = @Info(title = "XYZ API", version = "v2.0.0", contact = @Contact(), license = @license(), description = "XYZ REST API"), servers = {@server(url = "http://localhost:8080/v2")} , security = @securityrequirement(name = "openid-connect"))
This does not (produces empty json file) and this message during build: WARNING: no protocol: /v2 @ApplicationPath("v2") @OpenAPIDefinition(info = @Info(title = "XYZ API", version = "v2.0.0", contact = @Contact(), license = @license(), description = "XYZ REST API"), servers = {@server(url = "/v2")} , security = @securityrequirement(name = "openid-connect"))
This is the json file content: {"openapi":"3.0.1"}
The text was updated successfully, but these errors were encountered:
If I include just one additional server url with protocol like http://localhost:8080/v2, then it works
Sorry, something went wrong.
zvonegit
No branches or pull requests
This works fine:
@ApplicationPath("v2")
@OpenAPIDefinition(info = @Info(title = "XYZ API", version = "v2.0.0", contact = @Contact(), license = @license(), description = "XYZ REST API"),
servers = {@server(url = "http://localhost:8080/v2")} , security = @securityrequirement(name = "openid-connect"))
This does not (produces empty json file) and this message during build: WARNING: no protocol: /v2
@ApplicationPath("v2")
@OpenAPIDefinition(info = @Info(title = "XYZ API", version = "v2.0.0", contact = @Contact(), license = @license(), description = "XYZ REST API"),
servers = {@server(url = "/v2")} , security = @securityrequirement(name = "openid-connect"))
This is the json file content:
{"openapi":"3.0.1"}
The text was updated successfully, but these errors were encountered: