diff --git a/microprofile-open-api/pom.xml b/microprofile-open-api/pom.xml index db9d289e..bfbcb56e 100644 --- a/microprofile-open-api/pom.xml +++ b/microprofile-open-api/pom.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> microprofile-test-suite org.jboss.eap.qe @@ -11,6 +11,19 @@ microprofile-open-api + + 3.1.0 + + + + + + ${project.basedir}/src/test/resources + true + + + + org.eclipse.microprofile @@ -65,8 +78,8 @@ gson test - - + + diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi-broken.yaml b/microprofile-open-api/src/test/resources/META-INF/openapi-broken.yaml index 9010e8be..814b61ac 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi-broken.yaml +++ b/microprofile-open-api/src/test/resources/META-INF/openapi-broken.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.1 +openapi: ${version.openapi} info: title: LSR App version: "1.0" @@ -101,4 +101,4 @@ paths: - three x-object-array-property: - name: item-1 - - name: item-2 \ No newline at end of file + - name: item-2 diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi-fragment-header.yaml b/microprofile-open-api/src/test/resources/META-INF/openapi-fragment-header.yaml index 08d3749c..f5aaf6f0 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi-fragment-header.yaml +++ b/microprofile-open-api/src/test/resources/META-INF/openapi-fragment-header.yaml @@ -1,6 +1,6 @@ --- -openapi: 3.0.1 +openapi: ${version.openapi} info: title: LSR App version: "1.0" -paths: \ No newline at end of file +paths: diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi-server-path.yaml b/microprofile-open-api/src/test/resources/META-INF/openapi-server-path.yaml index cfc10bc7..1a99a195 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi-server-path.yaml +++ b/microprofile-open-api/src/test/resources/META-INF/openapi-server-path.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.1 +openapi: ${version.openapi} info: title: LSR App version: "1.0" diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi.json b/microprofile-open-api/src/test/resources/META-INF/openapi.json index 1742ff31..dd8cc81c 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi.json +++ b/microprofile-open-api/src/test/resources/META-INF/openapi.json @@ -1,5 +1,5 @@ { - "openapi": "3.0.1", + "openapi": "${version.openapi}", "info": { "title": "LSR App", "version": "1.0" @@ -176,4 +176,4 @@ } } } -} \ No newline at end of file +} diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi.yaml b/microprofile-open-api/src/test/resources/META-INF/openapi.yaml index 5482e383..b330bfa0 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi.yaml +++ b/microprofile-open-api/src/test/resources/META-INF/openapi.yaml @@ -1,5 +1,5 @@ --- -openapi: 3.0.1 +openapi: ${version.openapi} info: title: LSR App version: "1.0" diff --git a/microprofile-open-api/src/test/resources/META-INF/openapi.yml b/microprofile-open-api/src/test/resources/META-INF/openapi.yml index 5482e383..b330bfa0 100644 --- a/microprofile-open-api/src/test/resources/META-INF/openapi.yml +++ b/microprofile-open-api/src/test/resources/META-INF/openapi.yml @@ -1,5 +1,5 @@ --- -openapi: 3.0.1 +openapi: ${version.openapi} info: title: LSR App version: "1.0"