Skip to content

Commit

Permalink
chore: update release branch to 3.0 (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni authored Apr 21, 2022
1 parent d239edb commit 4470daa
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 22 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@

The latest draft specification can be found at [spec/asyncapi.md](./spec/asyncapi.md) which tracks the latest commit to the master branch in this repository.

- [Version 2.3.0](https://github.com/asyncapi/spec/blob/v2.3.0/spec/asyncapi.md) (latest)
- [Version 3.0.0](https://github.com/asyncapi/spec/blob/v3.0.0/spec/asyncapi.md) (latest)
- [Version 2.3.0](https://github.com/asyncapi/spec/blob/v2.3.0/spec/asyncapi.md)
- [Version 2.2.0](https://github.com/asyncapi/spec/blob/v2.2.0/spec/asyncapi.md)
- [Version 2.1.0](https://github.com/asyncapi/spec/blob/v2.1.0/spec/asyncapi.md)
- [Version 2.0.0](https://github.com/asyncapi/spec/blob/2.0.0/versions/2.0.0/asyncapi.md)
Expand Down
2 changes: 1 addition & 1 deletion examples/anyof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: AnyOf example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/application-headers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Application Headers example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/correlation-id.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Correlation ID Example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/gitter-streaming.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
id: 'urn:com:gitter:streaming:api'
info:
title: Gitter Streaming API
Expand Down
2 changes: 1 addition & 1 deletion examples/mercure.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Mercure Hub Example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/not.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Not example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/oneof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: OneOf example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-client.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
id: 'urn:rpc:example:client'
defaultContentType: application/json

Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
id: 'urn:rpc:example:server'
defaultContentType: application/json

Expand Down
2 changes: 1 addition & 1 deletion examples/simple.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Account Service
version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/slack-rtm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
id: 'urn:com:slack:rtm:api'
info:
title: Slack Real Time Messaging API
Expand Down
2 changes: 1 addition & 1 deletion examples/social-media/backend/asyncapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.2.0
asyncapi: 3.0.0

info:
title: Website Backend
Expand Down
2 changes: 1 addition & 1 deletion examples/social-media/comments-service/asyncapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.2.0
asyncapi: 3.0.0

info:
title: Comments Service
Expand Down
2 changes: 1 addition & 1 deletion examples/social-media/frontend/asyncapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.2.0
asyncapi: 3.0.0

info:
title: Website WebSocket Client
Expand Down
2 changes: 1 addition & 1 deletion examples/social-media/notification-service/asyncapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.2.0
asyncapi: 3.0.0

info:
title: Notifications Service
Expand Down
2 changes: 1 addition & 1 deletion examples/social-media/public-api/asyncapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: 2.2.0
asyncapi: 3.0.0

info:
title: Public API
Expand Down
2 changes: 1 addition & 1 deletion examples/streetlights-kafka.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Streetlights Kafka API
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/streetlights-mqtt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.3.0'
asyncapi: '3.0.0'
info:
title: Streetlights MQTT API
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket-gemini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - Live stream about topics mentioned in part 1 and 2 articles: https://www.youtube.com/watch?v=8tFBcf31e_c
#

asyncapi: '2.3.0'
asyncapi: '3.0.0'

#
# Overal information for users of the application
Expand Down
4 changes: 2 additions & 2 deletions spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Part of this content has been taken from the great work done by the folks at the [OpenAPI Initiative](https://openapis.org). Mainly because **it's a great work** and we want to keep as much compatibility as possible with the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification).

#### Version 2.3.0
#### Version 3.0.0

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt).

Expand Down Expand Up @@ -1087,7 +1087,7 @@ The following table contains a set of values that every implementation MUST supp

Name | Allowed values | Notes
---|:---:|---
[AsyncAPI 2.3.0 Schema Object](#schemaObject) | `application/vnd.aai.asyncapi;version=2.3.0`, `application/vnd.aai.asyncapi+json;version=2.3.0`, `application/vnd.aai.asyncapi+yaml;version=2.3.0` | This is the default when a `schemaFormat` is not provided.
[AsyncAPI 3.0.0 Schema Object](#schemaObject) | `application/vnd.aai.asyncapi;version=3.0.0`, `application/vnd.aai.asyncapi+json;version=3.0.0`, `application/vnd.aai.asyncapi+yaml;version=3.0.0` | This is the default when a `schemaFormat` is not provided.
[JSON Schema Draft 07](https://json-schema.org/specification-links.html#draft-7) | `application/schema+json;version=draft-07`, `application/schema+yaml;version=draft-07` |

The following table contains a set of values that every implementation is RECOMMENDED to support.
Expand Down

0 comments on commit 4470daa

Please sign in to comment.