Documentation

Overview

SDK generation

Autorest

https://github.com/Azure/autorest npm install -g autorest

$ curl -o swagger.json https://api.ingrid.com/v1/som/_/swagger.json
$ autorest --csharp \
--clear-output-folder \
--input-file=swagger.json \
--override-client-name=SomClient \
--namespace=Ingrid
--add-credentials \
--output-folder=Som

Swagger

https://openapi-generator.tech

$ java -jar swagger-codegen-cli.jar generate \
-i https://api.ingrid.com/v1/som/_/swagger.json \
-l csharp \
-DpackageName=Ingrid \
-o Som

For a list of complete supported options please run

$ java -jar swagger-codegen-cli.jar config-help -l csharp

Last updated: Fri, Dec 20, 06:15 AM