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

openapi2jsonschema gives errors in bunch of places but exits with no error #5

Open
surajssd opened this issue Oct 25, 2017 · 1 comment

Comments

@surajssd
Copy link

While this generation is happening we see errors in bunch of places

$ docker run -v `pwd`:/data:Z surajd/kedgeschema
...

+openapi2jsonschema --strict output.json -o schema/ --stand-alone
Downloading schema
Parsing schema
Generating shared definitions
Generating individual schemas
Processing nonresourceattributes
Generating nonresourceattributes.json
Processing rollbackconfig
Generating rollbackconfig.json
Processing podsecuritypolicylist
Generating podsecuritypolicylist.json
...

Processing deploymentspecmod
Generating deploymentspecmod.json
An error occured processinng deploymentspecmod: 
Processing localvolumesource
Generating localvolumesource.json
Processing horizontalpodautoscaler
Generating horizontalpodautoscaler.json
Processing replicationcontroller
Generating replicationcontroller.json
...

But the exit code is zero. So this is not counted as failed condition.

@surajssd
Copy link
Author

Does not show what the error is and continues to run!

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

No branches or pull requests

1 participant