openapi-schema-parser:用于OpenAPI 3.0.x和Swagger 2.x架构的AsyncAPI架构解析器

时间:2021-04-07 01:25:15
【文件属性】:
文件名称:openapi-schema-parser:用于OpenAPI 3.0.x和Swagger 2.x架构的AsyncAPI架构解析器
文件大小:81KB
文件格式:ZIP
更新时间:2021-04-07 01:25:15
JavaScript OpenAPI架构解析器 用于OpenAPI 3.0.x和Swagger 2.x架构的AsyncAPI架构解析器。 安装 npm install @asyncapi/openapi-schema-parser 用法 const parser = require ( 'asyncapi-parser' ) const openapiSchemaParser = require ( '@asyncapi/openapi-schema-parser' ) const asyncapiWithOpenAPI = ` asyncapi: 2.0.0 info: title: Example with OpenAPI version: 0.1.0 channels: example: publish: message: schemaFormat: 'ap
【文件预览】:
openapi-schema-parser-master
----.eslintrc(2KB)
----index.js(2KB)
----package.json(2KB)
----.github()
--------workflows()
----test()
--------refs()
--------asyncapi-openapi.yaml(954B)
--------parse_test.js(5KB)
----LICENSE(11KB)
----package-lock.json(266KB)
----.gitignore(12B)
----README.md(1KB)
----.editorconfig(190B)

网友评论