cli icon indicating copy to clipboard operation
cli copied to clipboard

Add parser middleware to /generate

Open Amzani opened this issue 1 year ago • 0 comments

Why do we need this improvement?

After the merge https://github.com/asyncapi/cli/pull/1200, we have the/generate API endpoint, but it missed the parser middleware.

How will this change help?

Validate AsyncAPI files documents before calling the generator

Screenshots

No response

How could it be implemented/designed?

Use the middleware, see https://github.com/asyncapi/server-api

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • [X] I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Amzani avatar Mar 18 '24 08:03 Amzani