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

-o requires prefix for some reason #43

Open
nirroz93 opened this issue Nov 2, 2020 · 1 comment
Open

-o requires prefix for some reason #43

nirroz93 opened this issue Nov 2, 2020 · 1 comment

Comments

@nirroz93
Copy link

nirroz93 commented Nov 2, 2020

Works fine without -o
openapi2jsonschema --expanded --kubernetes --stand-alone --strict "https://raw.githubusercontent.com/kubernetes/kubernetes/v1.19.2/api/openapi-spec/swagger.json"
but with -o
openapi2jsonschema --expanded --kubernetes --stand-alone --strict "https://raw.githubusercontent.com/kubernetes/kubernetes/v1.19.2/api/openapi-spec/swagger.json" -o /tmp/v1.19.2-standalone-strict
has many errors with the format

An error occured processing validatingwebhookconfigurationlist: URLError: <urlopen error [Errno 2] No such file or directory: '/tmp/tmp/v1.19.2-standalone-strict/_definitions.json'>
@jcmcken
Copy link

jcmcken commented Feb 13, 2021

I see this issue whenever --stand-alone and --expanded are used together, regardless if -o is used.

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

2 participants