Redocly / swagger-repo

CLI tool to help you manage your OpenAPI(fka Swagger) repo.
MIT License
18 stars 29 forks source link

skip plugins is set as true #11

Closed anshumandas closed 5 years ago

anshumandas commented 5 years ago

Hi Thanks for this excellent project that you have open sourced. i would like to use it and extend it for a tool that I am building.

In your index.js file the swaggerEditorMiddleware part has skipPlugins: true Is there a way to override this? Could you allow for some configuration here.

Thanks Anshuman Das

RomanHotsiy commented 5 years ago

It can't be done.

If plugins are enabled and you save the file in the swagger editor we destructure the whole spec into components and save back to disc. And the issue is we won't be able to undo plugin changes to the spec.