thim81 / openapi-format

Format an OpenAPI document by ordering, formatting and filtering fields.
MIT License
81 stars 14 forks source link

Online playground #50

Open eggplants opened 2 years ago

eggplants commented 2 years ago

To be easy to try openapi-format online, I need online playground!

Good example: https://prettier.io/playground.

thim81 commented 2 years ago

@eggplants This a really good suggestion.

Do you know of any open-source JS playground tool, that we could leverage to offer this?

eggplants commented 2 years ago

Thank you for your response.

I counldn't find any magical library to generate the playground from commander's CLI implementation. So need to create it from scratch.

(If you don't mind it taking longer, I'll implement it in React, which I'm not very good at...)

thim81 commented 2 years ago

@eggplants I think I have found a good starting point to build like "openapi-format" playground.

My idea was to re-use the excellent work from @boyney123 and the eventbridge-transformer application.

Idea: provide a 3 panel UI: