Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable spec loading/parsing #844

Open
jimschubert opened this issue Aug 18, 2018 · 0 comments
Open

Configurable spec loading/parsing #844

jimschubert opened this issue Aug 18, 2018 · 0 comments

Comments

@jimschubert
Copy link
Member

jimschubert commented Aug 18, 2018

Description

We currently rely heavily on swagger-parser to load and parse input specifications. We should put this behind a generic interface (supporting spec location, auth/security inputs), such that users may extend this to their liking.

Suggest a fix/enhancement

If done after #843, we could provide a service located transformer for the generic type mentioned in the interface above to get from the parsed output to our target generic API definition.

It would be nice to include a CLI option to override these (loader, transformer) types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant