autorest Questions
3
Solved
After autogenerating client using Swagger OpenApi 3.0 spec, I'm unable to compile the generated client. I get error on objects ClientDiagnostics, RawRequestUriBuilder, Utf8JsonRequestContent.
RestC...
4
I have two applications A and B. On A I use swagger for describing an API. On A I have also the definitions of classes with some enums properties.
I want to generate a client API on B. For this I u...
Allahabad asked 15/9, 2017 at 10:28
7
Solved
I am new to node and npm and trying to understand AutoRest.
When I type
autorest --list-available
into powershell ISE
I get
AutoRest code generation utility [version: 2.0.4262; node: v10.1.0]...
3
I have a Microsoft.Rest.ServiceClient generated with autorest. And I want to access a REST API secured with Windows Authentication and Basic Authentication.
The goal is to use Windows Authenticati...
Insalivate asked 18/4, 2018 at 14:19
1
Solved
My api is running net core 3.0 with Swashbuckle.AspNetCore 5.0.0-rc5
When I run autorest on my generated swagger.json file I get:
swagger.json is not a valid OpenAPI 2.0 definition (expected 'swa...
Trotskyite asked 4/1, 2020 at 22:19
3
I am trying the petshop client generation example on github and autorest just exits without creating anything or throwing any errors. Autorest behaves like I did not pass any arguments. Attached is...
1
Context
I would like to use AutoRest generated client for a webapi service by using "Add"/"REST API Client..." in visual studio 2017.
However, it gives the following error:
[Info]AutoRest Core 0....
Anderson asked 24/4, 2017 at 18:27
3
Solved
I'm playing around with using Swagger / OpenAPI docs/specs to generate REST API client code in C#, but I'm running into several problems.
Most notably - when trying to use the Swagger.io Petstore ...
Map asked 16/7, 2018 at 20:8
0
I have built an application running on Azure (ASP.Net Core 2.1) that involves microservices and a client application:
Client app (Android) --calls--> microservice A (gateway) --forwards->
micr...
Frail asked 12/10, 2018 at 12:20
3
Solved
When working with Azure .NET SDKs generated from swagger specs (such as those associated with Azure Resource Manager) the resulting libraries leverage the Microsoft AutoRest Client Runtime and the ...
1
© 2022 - 2024 — McMap. All rights reserved.