Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
68 views

Given the OpenAPI description document at https://www.bcb.gov.br/htms/dasfn/catalogo/1.0.10/openapi.json referencing the external schema file at https://www.bcb.gov.br/htms/dasfn/catalogo/1.0.10/...
Alfred Myers's user avatar
  • 6,463
1 vote
2 answers
738 views

I'm working on a project using the Clean Architecture Template. I'm trying to configure the Endpoints with OpenApi specifications. Here's what I tried to implement: Custom MapGet Extension public ...
Rasik's user avatar
  • 2,539
4 votes
1 answer
706 views

I want to have my OpenAPI json spec to use camel case in all query string parameters for my routes. So far the only way I managed to get this working was by using [FromQuery(Name = "camelCase&...
Bruno Casarotti's user avatar
0 votes
0 answers
286 views

I'm working on an asp.net core 9 web api. I'm using OpenAPI and Scalar.ASPNetCore. I think this is actually an issue with microsofts openapi functionality, not scalar. I have deployed my api to 2 ...
Jeremy's user avatar
  • 46.9k
1 vote
0 answers
110 views

Can a web API service in ASP.NET Core with OpenAPI return documents for multiple servers? This seems to be supported in OpenAPI v3, but I can't seem to find a way to do it with ASP.NET Core. To be ...
Ricardo Peres's user avatar
0 votes
1 answer
1k views

In previous versions of .NET, I'd used Swashbuckle to add OpenAPI support. It had an examples attribute where I could use SwaggerRequestExample or SwaggerResponseExample attributes to map a request ...
Jeremy's user avatar
  • 46.9k
3 votes
1 answer
473 views

I'm trying to migrate from SwaggerGen to .NET 9 Open API. First, I had this issue which was resolved by removing all of double.MaxValue use cases in my model validations. Now navigating to (in my case)...
Parsa99's user avatar
  • 557
1 vote
0 answers
237 views

I upgraded my .NET 8 solution to .NET 9 and replaced SwaggerGen with the new OpenAPI that .NET 9 provides. This is how everything related to this feature is setup in my program: ... builder.Services....
Parsa99's user avatar
  • 557
0 votes
0 answers
116 views

I am using .Net 6.0 with Open API Swagger packages. When I run my application, I find that "api-docs/v1.0/swagger.json" is just fine (However, I would like to tweak title, description etc.). ...
user1748546's user avatar
1 vote
1 answer
2k views

I have a project in Visual Studio using the "Azure Functions" template and the "Http trigger with OpenApi" function, and want to use an OpenApiRequestBodyAttribute to indicate that ...
Caleb Keller's user avatar
1 vote
0 answers
312 views

I have an Azure Function v4 .net 6 with an http trigger. I have some OpenAi attributes and would like to generate the yaml file to use it in pipeline. From documetation (https://learn.microsoft.com/en-...
FEST's user avatar
  • 883
0 votes
0 answers
4k views

i have the below section in my yaml file for which i need corresponding enums generated. I intend to use the "somemap" as a response for the API. somemap: type: object ...
user1318369's user avatar
0 votes
1 answer
214 views

I am trying to integrate openapi3 with reactive webflux functional endpoints. but i am always getting the error message "invalid version" from andother route configuration.andOther(route(...
Srivi's user avatar
  • 253
0 votes
3 answers
5k views

I have problem when run swagger with this methods. Can you help me? [HttpPost] [ApiVersion("1.0")] public IActionResult SetEmployeeV1() { v1 ... } ...
Sayed Mohammad Hossain Rouhani's user avatar
1 vote
1 answer
2k views

I am trying to run a ZAP API scan against an API but when I run the command below I get error "Invalid option v : option -v not recognized" : docker run -t owasp/zap2docker-weekly zap-api-...
Golide's user avatar
  • 1,031

15 30 50 per page