diff --git a/pom.xml b/pom.xml index 836ab59..0d82746 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ com.redhat.consulting openapi-quarkus-archetype - 1.0.11-SNAPSHOT + 2.0.0-SNAPSHOT maven-archetype openapi-quarkus-archetype - + OpenAPI And Quarkus Bootstrap Archetype https://github.com/redhat-appdev-practice/openapi-quarkus-archetype @@ -25,7 +25,7 @@ At least one license must be present. Here is an example of ASL v. 2.0 - + scm:git:git@github.com:redhat-appdev-practice/openapi-quarkus-archetype.git @@ -33,7 +33,7 @@ scm:git:https://github.com/redhat-appdev-practice/openapi-quarkus-archetype.git HEAD - + @@ -42,7 +42,7 @@ Red Hat - + diff --git a/src/main/resources/archetype-resources/.openapi-generator-ignore b/src/main/resources/archetype-resources/.openapi-generator-ignore index 7d0606f..03f6ed5 100644 --- a/src/main/resources/archetype-resources/.openapi-generator-ignore +++ b/src/main/resources/archetype-resources/.openapi-generator-ignore @@ -1,4 +1,4 @@ pom.xml build.gradle settings.gradle -src/main/resources/application.properties \ No newline at end of file +src/main/resources/application.yaml diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml index d82b107..3bc84c7 100644 --- a/src/main/resources/archetype-resources/pom.xml +++ b/src/main/resources/archetype-resources/pom.xml @@ -5,16 +5,17 @@ ${artifactId} ${version} - 3.8.1 + 21 + 21 + 21 true - 11 - 11 + 3.11.0 UTF-8 UTF-8 quarkus-universe-bom io.quarkus - 2.6.1.Final - 3.0.0-M5 + 3.19.2 + 3.2.3 1.3.0 NodePort @@ -36,23 +37,24 @@ io.quarkus - quarkus-keycloak-authorization + quarkus-smallrye-openapi io.quarkus - quarkus-smallrye-openapi + quarkus-rest-jackson - io.quarkus - quarkus-resteasy-jackson + org.openapitools + jackson-databind-nullable + 0.2.6 io.quarkus - quarkus-arc + quarkus-config-yaml io.quarkus - quarkus-resteasy-multipart + quarkus-arc io.quarkus @@ -80,25 +82,6 @@ - - org.apache.maven.plugins - maven-scm-plugin - 1.11.2 - - - - initialize - - checkout - - - scm:git:https://github.com/redhat-appdev-practice/openapi-generator-quarkus-templates.git - templates - connection - - - - org.apache.maven.plugins maven-clean-plugin @@ -110,16 +93,13 @@ ${project.basedir}/target - - ${project.basedir}/templates - openapi-generator-maven-plugin org.openapitools - 5.1.1 + 7.1.0 generate-sources @@ -135,7 +115,6 @@ ${project.basedir} false ${openapi_app_contract_uri} - ${project.basedir}/templates java8 ${package}.models diff --git a/src/main/resources/archetype-resources/src/main/resources/application.properties b/src/main/resources/archetype-resources/src/main/resources/application.yaml similarity index 54% rename from src/main/resources/archetype-resources/src/main/resources/application.properties rename to src/main/resources/archetype-resources/src/main/resources/application.yaml index bd595f4..0b133ab 100644 --- a/src/main/resources/archetype-resources/src/main/resources/application.properties +++ b/src/main/resources/archetype-resources/src/main/resources/application.yaml @@ -1,4 +1,6 @@ #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) -quarkus.oidc.auth-server-url=https://oidc.example.com/auth/realm/client \ No newline at end of file +quarkus: + rest: + path: /api/v1