AnsweredAssumed Answered

Canvas API and Swagger

Question asked by Douglas Tan on Aug 17, 2016
Latest reply on May 4, 2020 by Damian Sweeney

Looks like Canvas is using Swagger as the API definition format. and judging by the Live API (https://<canvashost>/doc/api/api-docs.json ) it is using Swagger version 1.2


My question is does anyone know how to generate a (C#) client library based on the API definition from Swagger.

There are some options out there on the Internet like NSwag, but they all work against Swagger 2.0.


I have also tried to convert 1.2 to 2.0 using converter like , but that doesnt seem to work either.