Swagger and Visual Studio / AutoRest
Summary
Generate a C# REST client from swaggerContent
Hi,
I've been trying to generate a REST client from https://docs.oracle.com/en/cloud/saas/service/19a/cxsvc/swagger.json using both Visual Studio (Add -> REST API Client) and the latest version of AutoRest available from npmjs: https://www.npmjs.com/package/autorest.
In both cases the Oracle Service Cloud swagger file does not pass the OpenAPI validation and hence the client can't be generated.
I experienced similar results with https://editor.swagger.io, so I'm wondering how to make a proper use of https://docs.oracle.com/en/cloud/saas/service/19a/cxsvc/swagger.json
Tagged:
0