Skip to content

Commit 2978ee5

Browse files
authored
fix: change ParserAPIVersion constant to 3 (#892)
1 parent abb2717 commit 2978ee5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ The following table shows a compatibility matrix between this parser, and the [P
217217
| Parser-JS | Parser-API | Spec 2.x | Spec 3.x |
218218
|-----------|-----------------------------------------------------------------------|----------|----------|
219219
| 2.x | [1.x](https://github.com/asyncapi/parser-api/blob/v1.0.0/docs/v1.md) || |
220-
| 3.x | [2.x](https://github.com/asyncapi/parser-api/blob/v2.0.0/docs/api.md) |||
220+
| 3.x | [3.x](https://github.com/asyncapi/parser-api/blob/v3.0.0/docs/api.md) |||
221221

222222
- `` Fully supported version.
223223
- `-` The AsyncAPI Spec version has features the Parser-JS can't use but the rest are fully supported.

src/models/asyncapi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import type { ServersInterface } from './servers';
1111

1212
import type { v2, v3 } from '../spec-types';
1313

14-
// https://github.com/asyncapi/parser-api/releases/tag/v2.0.0
15-
export const ParserAPIVersion = 2;
14+
// https://github.com/asyncapi/parser-api/releases/tag/v3.0.0
15+
export const ParserAPIVersion = 3;
1616

1717
export interface AsyncAPIDocumentInterface extends BaseModel<v2.AsyncAPIObject | v3.AsyncAPIObject>, ExtensionsMixinInterface {
1818
version(): string;

0 commit comments

Comments
 (0)