Hello Everyone,
I am new to ODL so appreciate your patience.
I am currently working on trying to parse/validate the Swagger page of the
controller. I am encountering all sorts of errors when trying to do so
complaining about broken references.
Here is the command I ran to do so and sample of the errors I am facing.
$ api-spec-converter aaa\(2016-12-14\).json --from=swagger_1 --to=swagger_2 -c
"code": "UNRESOLVABLE_REFERENCE",
"message": "Reference could not be resolved:
#/definitions/aaa/http-authorization/policies(config)policies-TOP",
"path": [
"paths",
"/config/aaa:http-authorization/policies/policies/{resource}",
"put",
"responses",
"200",
"schema",
"$ref"
],
"error": "JSON Pointer points to missing location:
#/definitions/aaa/http-authorization/policies(config)policies-TOP"
},
{
"code": "UNRESOLVABLE_REFERENCE",
"message": "Reference could not be resolved:
#/definitions/aaa/http-authorization/policies/policies(config)permissions-TOP",
"path": [
"paths",
"/config/aaa:http-authorization/policies/policies/{resource}/permissions",
"put",
"parameters",
"1",
"schema",
"$ref"
],
"error": "JSON Pointer points to missing location:
#/definitions/aaa/http-authorization/policies/policies(config)permissions-TOP"
}
]
Any pointers would be greatly appreciated.
Thanks,
_______________________________________________
Discuss mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/discuss