Skip to content

Commit 79dae0f

Browse files
authored
feat: update support for spec version 2.3.0. (#272)
* feat: Update the template to work with AsyncAPI 2.3.0 (#271) * updated the package.json version, change test files to 2.3.0.
1 parent 9d5e1d0 commit 79dae0f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Note that this template ignores the 'Servers' section of AsyncAPI documents. The
1010

1111
## Technical requirements
1212

13-
- 1.8.6 =< [Generator](https://github.com/asyncapi/generator/)
13+
- 1.9.4 =< [Generator](https://github.com/asyncapi/generator/)
1414
- Generator specific [requirements](https://github.com/asyncapi/generator/#requirements)
1515

1616
## Specification Conformance

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asyncapi/java-spring-cloud-stream-template",
3-
"version": "0.12.1",
3+
"version": "0.13.0",
44
"description": "Java Spring Cloud Stream template for AsyncAPI generator.",
55
"scripts": {
66
"release": "semantic-release",
@@ -67,7 +67,7 @@
6767
]
6868
},
6969
"generator": {
70-
"generator": ">=1.8.6 <2.0.0",
70+
"generator": ">=1.8.6 <=2.3.0",
7171
"parameters": {
7272
"actuator": {
7373
"description": "If present, it adds the dependencies for spring-boot-starter-web, spring-boot-starter-actuator and micrometer-registry-prometheus.",

test/mocks/animals.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ channels:
2929
oneOf:
3030
- $ref: '#/components/messages/CatMessage'
3131
- $ref: '#/components/messages/DogMessage'
32-
asyncapi: 2.0.0
32+
asyncapi: 2.3.0
3333
info:
3434
description: Testing oneOf
3535
title: animals

test/mocks/solace-test-app.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ channels:
3939
enum:
4040
- POST
4141
- DELETE
42-
asyncapi: 2.0.0
42+
asyncapi: 2.3.0
4343
info:
4444
title: solace-test-app
4545
version: 0.0.1

0 commit comments

Comments
 (0)