Skip to content

Commit 4d6aad4

Browse files
committed
fix: tests
1 parent be704aa commit 4d6aad4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

springwolf-examples/springwolf-jms-example/src/test/resources/asyncapi.openapiv31.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"io.github.springwolf.examples.jms.dtos.AnotherPayloadDto": {
6565
"schemaFormat": "application/vnd.oai.openapi;version=3.1.0",
6666
"schema": {
67+
"type": "object",
6768
"description": "Another payload model",
6869
"example": {
6970
"example": {
@@ -75,7 +76,8 @@
7576
},
7677
"properties": {
7778
"example": {
78-
"$ref": "#/components/schemas/io.github.springwolf.examples.jms.dtos.ExamplePayloadDto"
79+
"$ref": "#/components/schemas/io.github.springwolf.examples.jms.dtos.ExamplePayloadDto",
80+
"description": "Example field"
7981
},
8082
"foo": {
8183
"type": "string",
@@ -93,6 +95,7 @@
9395
"io.github.springwolf.examples.jms.dtos.ExamplePayloadDto": {
9496
"schemaFormat": "application/vnd.oai.openapi;version=3.1.0",
9597
"schema": {
98+
"type": "object",
9699
"description": "Example payload model",
97100
"example": {
98101
"someEnum": "FOO2",
@@ -137,7 +140,7 @@
137140
"$ref": "#/components/schemas/HeadersNotDocumented"
138141
},
139142
"payload": {
140-
"schemaFormat": "application/vnd.aai.asyncapi+json;version=3.1.0",
143+
"schemaFormat": "application/vnd.aai.asyncapi+json;version=3.0.0",
141144
"schema": {
142145
"$ref": "#/components/schemas/io.github.springwolf.examples.jms.dtos.AnotherPayloadDto"
143146
}
@@ -155,7 +158,7 @@
155158
"$ref": "#/components/schemas/HeadersNotDocumented"
156159
},
157160
"payload": {
158-
"schemaFormat": "application/vnd.aai.asyncapi+json;version=3.1.0",
161+
"schemaFormat": "application/vnd.aai.asyncapi+json;version=3.0.0",
159162
"schema": {
160163
"$ref": "#/components/schemas/io.github.springwolf.examples.jms.dtos.ExamplePayloadDto"
161164
}

0 commit comments

Comments
 (0)