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

paths under HardwareTapesDevices is an array but not wrapped by 'items' #75

Open
tenortim opened this issue Mar 19, 2019 · 0 comments
Open
Labels

Comments

@tenortim
Copy link

tenortim commented Mar 19, 2019

I tried to generate Go bindings using Swagger/OpenAPI and it generated bad code (ErrorUnknown) for the HardwareTapesDevices API type. I subsequently discovered swagger-go and using that, it has found several more conformance issues of which this is the first:

2019/03/19 12:01:01 validating spec ./isi_8.0.0.7.config
The swagger spec at "./isi_8.0.0.7.config" is invalid against swagger specification 2.0. see errors :
- type in definitions.HardwareTapesDevices.properties.media_changers is required
- "definitions.HardwareTapesDevices.properties.media_changers.items" must validate at least one schema (anyOf)
- items in definitions.HardwareTapesDevices.properties.media_changers.items is required
- items in definitions.HardwareTapesDevices.properties.media_changers.items.properties.paths is required
- type in definitions.HardwareTapesDevices.properties.tapes is required
- "definitions.HardwareTapesDevices.properties.tapes.items" must validate at least one schema (anyOf)
- items in definitions.HardwareTapesDevices.properties.tapes.items is required
- items in definitions.HardwareTapesDevices.properties.tapes.items.properties.paths is required

PR to follow, once I can get the Python to mangle the JSON to match my manual fix!

@vboddui vboddui added the Bug_SDK label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants