-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d34cb00
commit 50f4f64
Showing
4 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Migrating from v2 to v3 | ||
|
||
The ONLY thing that changes between v2 and v3 is that we now use [parser API v3](https://github.com/asyncapi/parser-api/commit/954a59e41ccdb70de51eb43901f61b79198fbb51) where v2 used [parser API v1](https://github.com/asyncapi/parser-api/commit/7dab1eeb796f8c8c079e5d0c4d671d55a60bc8ca). | ||
|
||
## Parser API v1 to v3 | ||
There are only very few changes, for message and message traits. | ||
|
||
## Message | ||
|
||
```diff | ||
- - messageId(): `string` | `undefined` | ||
- - schemaFormat(): `string` | ||
+ - schemaFormat(): `string` | `undefined` | ||
``` | ||
|
||
Since `messageId` have been removed, you need to use `id` instead. | ||
|
||
## MessageTrait | ||
|
||
```diff | ||
- - messageId(): `string` | `undefined` | ||
- - schemaFormat(): `string` | ||
+ - schemaFormat(): `string` | `undefined` | ||
``` | ||
|
||
Since `messageId` have been removed, you need to use `id` instead. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters