autorest icon indicating copy to clipboard operation
autorest copied to clipboard

add support for "examples" in responses object

Open matt-gibbs opened this issue 11 years ago • 2 comments

Including "examples" in a swagger spec results in an error

error: [ Fatal ] Error generating client model: Requested value 'examples' was not found. Finished generating CSharp code for swagger.json. Swagger example located here. Definition of example here for use in the response object defined here.

matt-gibbs avatar Jul 01 '15 21:07 matt-gibbs

@matt-gibbs can't repro. We tried to take a copy from the referenced swagger spec and ran it through our latest modeler and csharp code generator it worked fine.

ogail avatar Jul 10 '15 00:07 ogail

Please reopen and add details for repro if the issue is still valid.

hovsepm avatar Jul 10 '15 23:07 hovsepm