Skip to content

Commit

Permalink
Merge pull request #265 from asyncapi/release/2.0.0
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
fmvilas committed Sep 11, 2019
2 parents ede0b8a + e4e0b57 commit b21cf1d
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 27 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<h1 align="center">
<br>
<a href="https://asyncapi.org"><img src="./assets/logo.png" alt="AsyncAPI logo" width="200"></a>
<br>
AsyncAPI
<br>
<h4 align="center">Create machine-readable definitions of your message-driven APIs</h4>
<a href="https://asyncapi.org"><img src="./assets/logo.png" alt="AsyncAPI logo" height="80"></a>
<h4 align="center">Building the future of event-driven architectures</h4>
<h6 align="center">We're on a mission to standardize message-based communication and increase interoperability of the different systems out there.</h6>
<p align="center">
<a href="#the-specification">Specification</a>
Expand Down Expand Up @@ -55,8 +52,8 @@

## The specification

* [Version 2.0.0-beta](/versions/next/asyncapi.md)[Machine-readable version](/versions/next/schema.json)
* [Version 1.2.0](/versions/1.2.0/asyncapi.md)[Machine-readable version](/versions/1.2.0/schema.json) (latest stable)
* [Version 2.0.0](/versions/next/asyncapi.md)[Machine-readable version](/versions/2.0.0/schema.json) (latest stable)
* [Version 1.2.0](/versions/1.2.0/asyncapi.md)[Machine-readable version](/versions/1.2.0/schema.json)
* [Version 1.1.0](/versions/1.1.0/asyncapi.md)[Machine-readable version](/versions/1.1.0/schema.json)
* [Version 1.0.0](/versions/1.0.0/asyncapi.md)[Machine-readable version](/versions/1.0.0/schema.json)

Expand Down
4 changes: 2 additions & 2 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ This milestone is about improving developer/user experience for the specificatio

This milestone is about figuring out how to map protocols to AsyncAPI documents.

### Next milestones

:arrow_right: [[v2.0.0] Augmentation](https://github.com/asyncapi/asyncapi/milestone/5) :white_check_mark: Current milestone

This milestone is about creating mechanisms for the users to augment the AsyncAPI specification. We already have specification extensions, which provide a syntactical way to extend the spec. In this milestone, we should aim for providing the right mechanisms to extend the spec in different contexts and ways.
Expand All @@ -44,6 +42,8 @@ There's a new AsyncAPI version and now it's time for the tooling vendors to fini

Official launch of AsyncAPI 2.0.0! Party hard! :beers:

### Next milestones

:arrow_right: [Backlog](https://github.com/asyncapi/asyncapi/projects/4)

The purpose of the backlog is to temporarily group issues that may be considered for the future. Please, note that it doesn't mean they will get implemented, however, there is a big chance.
Binary file modified assets/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/next/anyof.yml → examples/2.0.0/anyof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: AnyOf example
version: '1.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: Application Headers example
version: '1.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: Correlation ID Example
version: '1.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
id: 'urn:com:gitter:streaming:api'
info:
title: Gitter Streaming API
Expand Down
2 changes: 1 addition & 1 deletion examples/next/not.yml → examples/2.0.0/not.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: Not example
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/next/oneof.yml → examples/2.0.0/oneof.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: OneOf example
version: '1.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
id: 'urn:rpc:example:client'
defaultContentType: application/json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
id: 'urn:rpc:example:server'
defaultContentType: application/json

Expand Down
8 changes: 4 additions & 4 deletions examples/next/slack-rtm.yml → examples/2.0.0/slack-rtm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
id: 'urn:com:slack:rtm:api'
info:
title: Slack Real Time Messaging API
Expand All @@ -14,6 +14,9 @@ servers:

channels:
/:
publish:
message:
$ref: '#/components/messages/outgoingMessage'
subscribe:
message:
oneOf:
Expand Down Expand Up @@ -63,9 +66,6 @@ channels:
- $ref: '#/components/messages/manualPresenceChange'
- $ref: '#/components/messages/memberJoinedChannel'
- $ref: '#/components/messages/message'
subscribe:
message:
$ref: '#/components/messages/outgoingMessage'

components:
securitySchemes:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
asyncapi: '2.0.0-rc2'
asyncapi: '2.0.0'
info:
title: Streetlights API
version: '1.0.0'
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Usage: npm test [-- --versions 1.2.0,next]
// Usage: npm test [-- --versions 1.2.0,2.0.0]

const util = require('util');
const fs = require('fs');
Expand Down Expand Up @@ -71,7 +71,7 @@ const runForVersion = version => new Promise((resolve, reject) => {

// RUNNING TESTS

let versions = ['1.1.0', '1.2.0', 'next'];
let versions = ['1.1.0', '1.2.0', '2.0.0'];

if (process.argv.length > 2) {
const args = process.argv.slice(2);
Expand Down
2 changes: 1 addition & 1 deletion versions/next/asyncapi.md → versions/2.0.0/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.0.0-rc2
#### Version 2.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](http://www.ietf.org/rfc/rfc2119.txt).

Expand Down
4 changes: 2 additions & 2 deletions versions/next/schema.json → versions/2.0.0/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "AsyncAPI 2.0.0-rc2 schema.",
"title": "AsyncAPI 2.0.0 schema.",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
Expand All @@ -17,7 +17,7 @@
"asyncapi": {
"type": "string",
"enum": [
"2.0.0-rc2"
"2.0.0"
],
"description": "The AsyncAPI specification version of this document."
},
Expand Down

0 comments on commit b21cf1d

Please sign in to comment.