cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
533
Views
1
Helpful
2
Replies

OpenApi scheme in SD-WAN vManage API isn't working for generating code

maxnyst
Level 1
Level 1

I'm trying to create an integration for the vManage SD-WAN API's and need to generate the http client code. This is usually easy with a OpenApi .json file which is provided on the swagger page ( https://developer.cisco.com/docs/sdwan/ )( https://pubhub.devnetcloud.com/media/sd-wan-api-release-20-12/docs/openapi/vmanageapi_2012.json ). The problem is that the many ( or maybe all ) of the #refs are pointing to other json files which cannot be reached. Does anyone have an idea of how to fix it?

2 Replies 2

maxnyst
Level 1
Level 1

example problem in the vmanageapi_2012.json file that gives an error when trying to generate code

"Monitoring - Umbrella": {
                    "description": "generated by base class - Monitoring - Umbrella",
                    "$ref": "examples/elasticsearch/monitoring/response_example/Umbrella.json"
                  }

@maxnyst you can always log something at developer.cisco.com/feedback and the team can figure it out from there with the org, as i do not think this is a TAC case.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io