Huang Xueyuan (Jessie)
Huang Xueyuan (Jessie)
Wow great! Fully resolved swagger contains external references is expected by us. Does `output-artifact` option only available in [new CLI](https://github.com/Azure/autorest/blob/master/docs/user/cli.md)? I tried `autorest -FANCY -g SwaggerResolver -i advisor.json --output-artifact=advisor.yaml` and...
@olydis wow cool I can generate the yaml files from swagger now, thanks!
@olydis interesting that I can generate the advisor.yaml via `autorest --input-file=D:\Code\azure-rest-api-specs\specification\advisor\resource-manager\Microsoft.Advisor\2017-04-19\advisor.json --output-artifact=advisor.yaml`, where the `output-artifact` could be any name?
@olydis get it, sounds like Azure REST APIs will maintain in OpenAPI 2.0, before AutoRest supports 3.0?
@olydis get it now, thanks for the info!
We also have [UniversalReferenceDocumentProcessor](https://github.com/dotnet/docfx/blob/dev/plugins/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs), try to fit your model inside the processor and test. @superyyrrzz
@vdecristofaro could you provide the json file or github repo for us? I will investigate for you. Thanks.
@vdecristofaro , I checked your attached swagger json and found its schema is invalid. Could you work with NSwag tool to generate the valid swagger json file? I use http://bigstickcarpet.com/swagger-parser/www/index.html...
We also have plan to validate the swagger schema #312
Hi @vdecristofaro , - For "circular references", as the validation tool hints, that's an invalid case and docfx doesn't support it. For example, if A's type is defined as B...