readmeio / oas

Comprehensive tooling for working with OpenAPI definitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to provide the `base` parameter for `oas generate`?

wwei-flux opened this issue · comments

When I ran oas generate, I got an error Error: No base specification provided! from swagger-inline.

Looks like it isn't documented, but you should be able to pass in your base as the last parameter to oas generate.

https://github.com/readmeio/oas/blob/master/packages/cli/src/lib/utils.js#L27