Skip to content

Commit

Permalink
Update migrating-to-v3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RegretfulWinter committed Feb 21, 2024
1 parent bc65e26 commit 19d72ad
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/migration/migrating-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,9 @@ In v2, the return type of `schemaFormat()` in `Message` and `MessageTrait` objec
# AsyncAPI Parser API v2.0.0
...
## Message
- id(): `string`
- hasSchemaFormat(): `boolean`
- schemaFormat(): `string`
...
## MessageTrait
- id(): `string`
- hasSchemaFormat(): `boolean`
- schemaFormat(): `string`
```

Expand All @@ -68,12 +64,8 @@ In v3, the return type has been changed to `string | undefined`, emphasizing tha
# AsyncAPI Parser API v3.0.0
...
## Message
- id(): `string`
- hasSchemaFormat(): `boolean`
- schemaFormat(): `string` | `undefined`
...
## MessageTrait
- id(): `string`
- hasSchemaFormat(): `boolean`
- schemaFormat(): `string` | `undefined`
```

0 comments on commit 19d72ad

Please sign in to comment.