bump-sh / bump-sh/cli

Add “offline” spec validations in the `validate` command (optional flag)

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
👜 Totebag backend enhancement internal technical typescript
Dominant language
TypeScript
Stars
71
Forks
9
Avg merge
7m
Merged PRs (30d)
4

Description

When using the `bump validate` command it could make sense to add a `--strict` flag to enable OpenAPI/AsyncAPI spec verification.

- For OpenAPI we could use
- The Mermade developed/maintained [`oas-validator` library](https://www.npmjs.com/package/oas-validator)
- The AsyncAPI community maintained library [`@asyncapi/openapi-schema-parser`](https://github.com/asyncapi/openapi-schema-parser#readme)
- For AsyncAPI we could use the “official” community developed library [`@asyncapi/parser`](https://github.com/asyncapi/parser-js)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.