4,565 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
81
views
How to enable the "Authorize" button in Swagger in .NET 10?
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&...
0
votes
0
answers
117
views
Swagger not showing v2 data in UI with no way of changing
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 ...
0
votes
0
answers
27
views
Swagger Caching Authentication parameters
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 ...
1
vote
0
answers
133
views
Using .NET 10 and SwaggerUI to handle complex data in a GET request
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; } = [...
0
votes
1
answer
78
views
Swagger in springboot3- No API Definition Provided
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
3
replies
39
views
What dependency for Swagger/OpenApi to work in Kotlin and WebFlux Spring Boot application?
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?
0
votes
0
answers
54
views
Gravitee OSS Gateway returns 404 when accessing proxied Swagger UI
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/...
0
votes
0
answers
45
views
Pass parameter from Swagger to IdentityServer8 for authentication
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 ...
1
vote
0
answers
69
views
Swashbuckle ISchemaFilter Parameter Description .NET 8.0
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 ...
0
votes
1
answer
153
views
Incorrect path using in Swagger Ui with utoipa axum
Writing an HTTP API in Rust using axum with utoipa for documentation.
My problem is that even tho the actual program is working fine, Swagger UI does the curl requests to the wrong endpoints.
Router ...
0
votes
0
answers
68
views
Is there a way to Set the Auth token In Swagger ui 1.0 after Using a log-In End-point?
After testing and debugging Endpoints many times, it gets annoying to copy and past the Auth token form the Login Endpoint to the Auth button again and again every couple of hours, so I'm asking if ...
0
votes
0
answers
114
views
Apisix route for swagger end point not working
I have APISix routes for my fastapi backend. Service endpoints work well. But swagger docs are not rendered.
While http://127.0.0.1:8000/docs render docs, but apisix route configured for /docs/* doesn'...
1
vote
3
answers
233
views
Configure OpenAPI custom info object with Springdoc
I have a Spring Boot application where I use OpenAPI to document my API's. Everything works as expected except I'm not able to configure a custom info object of the v3/api-docs. This is my code:
...
0
votes
0
answers
85
views
Visual Studio debugger crashes when selecting IFormFile in Swagger UI
I'm running an ASP.NET API in Visual Studio. I have an endpoint to upload a file using IFormFile.
[HttpPost(Name = "AddDocument")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ...
0
votes
0
answers
63
views
Marking error codes as retriable in OpenAPI
I want to mark some response codes in some operations of my REST API as retriable (the API specification described in OpenAPI). Is there a standard solution for this problem?
It would be great if ...