You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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:
PR to follow, once I can get the Python to mangle the JSON to match my manual fix!
The text was updated successfully, but these errors were encountered: