Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Advice
0 votes
1 replies
134 views

With the move from Microsoft to do some major changes with .net 10 with openapi/swagger, I had some trouble to have swagger ui to hide the lock icon on [AllowAnonymous] endpoint while having it on [...
Score of 1
1 answer
207 views

We have recently migrated our .NET project to Swashbuckle.AspNetCore 10.1.7 from version 6.6.2 as part of a larger .NET 8 to .NET 10 migration. However, I'm experiencing serious authorization problems ...
Score of 0
1 answer
183 views

I'm trying to use the XmlDataContractSerializerOutputFormatter and XmlDataContractSerializerInputFormatter (yes, I have tried XmlSeralizerOutputFormatter and XmlSerializerInputFormatter so I don't ...
Score of 0
0 answers
132 views

I'm using Swagger-ui.js version 5.32.0. I have some OpenApi 3.0 documents that look similar to this (I've simplified for this example). /test: post: requestBody: content: ...
Score of 2
0 answers
189 views

I'm moving a Web API project from .NET framework to .NET 10. While I have the project itself working, I'm trying to get documentation up and running with OpenAPI (Microsoft.AspNetCore.OpenApi 10.0.3) &...
Score of 0
1 answer
198 views

I have an ASP.NET Core 9 Web API with a file upload endpoint using IFormFile. When I launch the application, Swagger UI fails to load with this error: Failed to load API definition. Fetch error ...
Score of 0
2 answers
783 views

Recently, I've been trying to create a server with .NET 10 and I want to use Swagger to support the documentation, but I'm having problems with JWT authentication. How do I enable the "Authorize&...
Score of 0
0 answers
255 views

I'm implementing some versioning in my Minimal API for .NET 8 and I've hit a bit of a snag. My documentation won't load the v2 API doc into Swagger when I run the application. I have this Swagger ...
Score of 1
0 answers
65 views

I have an ASP.NET Core Web API. I am using Swagger, so when I run my app in debug mode, the Swagger page appears and I can test my endpoints. I also have authentication, and crucially, I'm ...
Score of 1
0 answers
236 views

I have a simple .NET 10 Minimal API that I'm testing with SwaggerUI as : public class Input { public string? StringVal { get; set; } = ""; public string[] ArrayVals { get; set; } = [...
Score of 0
1 answer
108 views

I have a spring boot 3 application and I have added springdoc-openapi dependency ie <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-...
Advice
1 vote
2 replies
57 views

I tried a lot of different options, but I cannot find the right dependency that works with Kotlin ans WebFlux simulatneously. Which one should I use? Is it possible to have this setup?
Score of 0
0 answers
79 views

I’ve deployed Gravitee OSS as an API Gateway on a VM, with a local DNS entry so it’s available at: http://apim.local:8082 I also have an API running externally at: https://my-app.k8s.acme.fr/spring/...
Score of 0
0 answers
50 views

I'm using Swagger UI to test APIs that require authentication to IdentityServer8 via OAuth 2.0 implicit flow. Is there any way to pass a custom parameter from Swagger UI to IdentityServer8 during ...
Score of 1
0 answers
132 views

I want to add helpful message with CSS style to the Swagger UI schema section of my method. So far I have a message displaying for the object but I want them for each property. Here is what I am doing ...

15 30 50 per page
1
2 3 4 5
304