Skip to content

Commit

Permalink
switch default values
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsomora committed Aug 10, 2023
1 parent 372bfba commit ce3546c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
org.acme.openapi.security.auth.basic_auth/username=john
org.acme.openapi.security.auth.basic_auth/password=test
customAuth.additionalApiTypeAnnotations=@org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders,@org.eclipse.microprofile.rest.client.annotation.RegisterProvider(io.quarkiverse.openapi.generator.it.security.auth.DummyApiKeyAuthenticationProvider.class)
quarkus.openapi-generator.codegen.enable-security-generation=false

# since the file name has a space, we use the URI representation of this space here to not break the properties file
# see the RFC3986 for more info https://datatracker.ietf.org/doc/html/rfc3986
quarkus.openapi-generator.codegen.spec.open_weather_yaml.base-package=org.acme.openapi.weather.v2
quarkus.openapi-generator.codegen.spec.open_weather_yaml.enable-security-generation=true
quarkus.openapi-generator.open_weather_yaml.auth.app_id.api-key=12345

quarkus.openapi-generator.codegen.spec.open_weather_custom_security_yaml.enable-security-generation=false
quarkus.openapi-generator.codegen.spec.open_weather_custom_security_yaml.base-package=org.acme.openapi.weather.customsecurity
quarkus.openapi-generator.codegen.spec.open_weather_custom_security_yaml.additional-api-type-annotations=${customAuth.additionalApiTypeAnnotations}
quarkus.openapi-generator.open_weather_custom_security_yaml.auth.app_id.api-key=dummyKey
Expand Down

0 comments on commit ce3546c

Please sign in to comment.