Skip to content

Commit

Permalink
feat: update support for spec version 2.3.0. (#272)
Browse files Browse the repository at this point in the history
* feat: Update the template to work with AsyncAPI 2.3.0 (#271)

* updated the package.json version, change test files to 2.3.0.
  • Loading branch information
damaru-inc authored May 17, 2022
1 parent 9d5e1d0 commit 79dae0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Note that this template ignores the 'Servers' section of AsyncAPI documents. The

## Technical requirements

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

## Specification Conformance
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/java-spring-cloud-stream-template",
"version": "0.12.1",
"version": "0.13.0",
"description": "Java Spring Cloud Stream template for AsyncAPI generator.",
"scripts": {
"release": "semantic-release",
Expand Down Expand Up @@ -67,7 +67,7 @@
]
},
"generator": {
"generator": ">=1.8.6 <2.0.0",
"generator": ">=1.8.6 <=2.3.0",
"parameters": {
"actuator": {
"description": "If present, it adds the dependencies for spring-boot-starter-web, spring-boot-starter-actuator and micrometer-registry-prometheus.",
Expand Down
2 changes: 1 addition & 1 deletion test/mocks/animals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ channels:
oneOf:
- $ref: '#/components/messages/CatMessage'
- $ref: '#/components/messages/DogMessage'
asyncapi: 2.0.0
asyncapi: 2.3.0
info:
description: Testing oneOf
title: animals
Expand Down
2 changes: 1 addition & 1 deletion test/mocks/solace-test-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ channels:
enum:
- POST
- DELETE
asyncapi: 2.0.0
asyncapi: 2.3.0
info:
title: solace-test-app
version: 0.0.1

0 comments on commit 79dae0f

Please sign in to comment.