Closed
Description
I'm trying to use AutoRest to generate C# classes from https://docs.docker.com/engine/api/v1.26/swagger.yaml
I converted it to Json using http://editor.swagger.io and the converted file is attached (renamed to txt).
swagger.txt
Code generation failed.
AutoRest.exe -Namespace Docker.DotNet.Models -Input swagger.json
error: [FATAL] Error parsing swagger file. Error reading string. Unexpected token: StartObject. Path 'default', line 19, position 15.
Can someone tell me what is wrong with it? Other tools like NSwag is able to run it perfectly.
Thank you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels