Skip to content

Commit

Permalink
Update MicroProfile OpenAPI tests for v4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
pferraro committed Nov 12, 2024
1 parent 97a0076 commit b5ce59c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 12 deletions.
19 changes: 16 additions & 3 deletions microprofile-open-api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>microprofile-test-suite</artifactId>
<groupId>org.jboss.eap.qe</groupId>
Expand All @@ -11,6 +11,19 @@

<artifactId>microprofile-open-api</artifactId>

<properties>
<version.openapi>3.1.0</version.openapi>
</properties>

<build>
<testResources>
<testResource>
<directory>${project.basedir}/src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</build>

<dependencies>
<dependency>
<groupId>org.eclipse.microprofile</groupId>
Expand Down Expand Up @@ -65,8 +78,8 @@
<artifactId>gson</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>

<profiles>
<!-- Test against Bootable JAR -->
<profile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.1
openapi: ${version.openapi}
info:
title: LSR App
version: "1.0"
Expand Down Expand Up @@ -101,4 +101,4 @@ paths:
- three
x-object-array-property:
- name: item-1
- name: item-2
- name: item-2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
openapi: 3.0.1
openapi: ${version.openapi}
info:
title: LSR App
version: "1.0"
paths:
paths:
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.1
openapi: ${version.openapi}
info:
title: LSR App
version: "1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.1",
"openapi": "${version.openapi}",
"info": {
"title": "LSR App",
"version": "1.0"
Expand Down Expand Up @@ -176,4 +176,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.1
openapi: ${version.openapi}
info:
title: LSR App
version: "1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.1
openapi: ${version.openapi}
info:
title: LSR App
version: "1.0"
Expand Down

0 comments on commit b5ce59c

Please sign in to comment.