-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: remove unsupported specs from NodeJS export (#248)
Co-authored-by: Sergio Moya <[email protected]>
- Loading branch information
1 parent
ba0f516
commit f55917d
Showing
8 changed files
with
11,378 additions
and
177 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,14 @@ | ||
import type { JSONSchema7 } from 'json-schema'; | ||
|
||
declare module '@asyncapi/specs' { | ||
const specs: { | ||
'2.0.0': JSONSchema7, | ||
'2.1.0': JSONSchema7, | ||
'2.2.0': JSONSchema7, | ||
'2.3.0': JSONSchema7, | ||
'2.4.0': JSONSchema7, | ||
'2.5.0': JSONSchema7, | ||
} | ||
|
||
export default specs; | ||
} |
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
File renamed without changes.
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,3 @@ | ||
# Migrating to version 4 | ||
|
||
In version 4, we removed unsupported versions of AsyncAPI from the package: `1.0.0`, `1.1.0`, `1.2.0`, `2.0.0-rc1` and `2.0.0-rc2`. In addition, we added [Typescript](https://www.typescriptlang.org/) types to the existing specifications. |
Oops, something went wrong.