Skip to content

Commit

Permalink
feat: support AsyncAPI 2.1.0 (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Urbańczyk <[email protected]>
  • Loading branch information
jonaslagoni and magicmatatjahu authored Jun 29, 2021
1 parent af121ca commit 4c8bdef
Show file tree
Hide file tree
Showing 6 changed files with 15,465 additions and 63 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The process of creating data models from input data consists of 2 processes, the
The input process ensures that any supported input is handled correctly, the basics are that any input needs to be converted into our internal model representation `CommonModel`. The following inputs are supported:

- [JSON Schema Draft 7](#JSON-Schema-input), this is the default inferred input if we cannot find another input processor.
- [AsyncAPI version 2.0.0](#AsyncAPI-input)
- [AsyncAPI version 2.0.0 and 2.1.0](#AsyncAPI-input)

Read more about the input process [here](./docs/input_processing.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const customLogger: ModelLoggingInterface = {
warn: (msg: string) => { console.log(msg) },
error: (msg: string) => { console.log(msg) }
};
Logger.setLogger(mockedLogger);
Logger.setLogger(customLogger);

// Now use the library as normal without doing anything else.
// const generator = new TypeScriptGenerator({ modelType: 'interface' });
Expand Down
Loading

0 comments on commit 4c8bdef

Please sign in to comment.