Skip to content

Commit

Permalink
fix: change ParserAPIVersion constant to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya committed Nov 7, 2023
1 parent abb2717 commit 107456e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/asyncapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import type { ServersInterface } from './servers';

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

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

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

0 comments on commit 107456e

Please sign in to comment.