Redocly/create-openapi-repo

npm build doesn't generate anything

ghenry opened this issue · 2 comments

Hi all,

If I run npm build I get:

~/src/SureVoIP-API-Specification [master*]$ npm build
~/src/SureVoIP-API-Specification [master*]$ ls
LICENSE  node_modules  package.json  package-lock.json  README.md  redocly.yaml  spec  web

if I do it by hand it works:

~/src/SureVoIP-API-Specification [master*]$ node_modules/swagger-repo/bin/swagger-repo.js build -o web_deploy
[spec] Adding paths
[spec] Adding components/schemas to spec
[spec] Adding components/responses to spec
[spec] Adding components/headers to spec
[spec] Adding components/securitySchemes to spec
[spec] Adding code samples
Copied /web to web_deploy
Copied Swagger UI to web_deploy/swagger-ui
Created web_deploy/openapi.json
Created web_deploy/openapi.yaml
Created web_deploy/index.html

Any ideas what's going on?

Thanks.

No, however, we just deployed a major version today. You would need to read the readme and probably run the migration tool if you're interested. I've already applied to the API definitions I manage elsewhere.

Closing as stale.