Skip to content

Commit

Permalink
feat: support protobuf (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenRover authored Sep 7, 2023
1 parent 7e9e36e commit 8a7103f
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { Parser, convertToOldAPI } = require('@asyncapi/parser/cjs');
const { OpenAPISchemaParser } = require('@asyncapi/openapi-schema-parser');
const { AvroSchemaParser } = require('@asyncapi/avro-schema-parser');
const { RamlDTSchemaParser } = require('@asyncapi/raml-dt-schema-parser');
const { ProtoBuffSchemaParser } = require('@asyncapi/protobuf-schema-parser');

const parser = module.exports;

Expand All @@ -12,6 +13,7 @@ const defaultParser = new Parser({
OpenAPISchemaParser(),
AvroSchemaParser(),
RamlDTSchemaParser(),
ProtoBuffSchemaParser(),
],
});

Expand Down
47 changes: 47 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@asyncapi/openapi-schema-parser": "^3.0.4",
"@asyncapi/parser": "^2.1.0",
"@asyncapi/raml-dt-schema-parser": "^4.0.4",
"@asyncapi/protobuf-schema-parser": "3.0.0",
"@npmcli/arborist": "^2.2.4",
"ajv": "^8.12.0",
"chokidar": "^3.4.0",
Expand Down

0 comments on commit 8a7103f

Please sign in to comment.