12,458 questions
0
votes
0
answers
40
views
Can't Target OpenAPI 3.x After Upgrading Swashbuckle.AspNetCore to v9.x
I'm trying to upgrade the Swashbuckle.AspNetCore package from version 7.3.2 to the latest version, which is currently 9.0.3, in an ASP.NET Core app targeting .NET 8. Note that this app will be ...
0
votes
0
answers
36
views
Flutter:DOI - Why it keep sending 200 Response to Catch Block
So i am using Swagger Documentation and OpenAPI CLI Tool to auto generate Api Call etc Logics
final response = await _api
.getAuthenticationApi()
.authControllerRegisterV1(
...
0
votes
2
answers
39
views
Laravel API: PUT request with multipart/form-data returns empty request when using Swagger or Postman [duplicate]
I'm working on a Laravel 10.x project with an API that allows updating an event using a PUT /events/{id} endpoint. This endpoint accepts multipart/form-data to optionally upload an image and pdf, and ...
1
vote
0
answers
64
views
How to add format, pattern and maxlength?
How do I add information to Swagger docs for:
format
pattern
max length
I was thinking just put them on a object and add attributes, but I need them to be a primitive because I am using them in the ...
1
vote
1
answer
53
views
After publishing, Swagger loads but doesn't display any endpoint
During local development, my ASP.NET Core 8 Minimal API project is operating without any issues. Swagger opens at /swagger, all endpoints are visible, and everything is testable directly from the user ...
1
vote
0
answers
61
views
How to receive an array of objects (with IFormFile) using [FromForm] in ASP.NET Core Web API?
I'm building an ASP.NET Core Web API endpoint that needs to receive an array of complex objects via multipart/form-data. Each object includes key-value string pairs and an optional file upload. Each ...
0
votes
0
answers
20
views
Hide parameter in Swagger doc but keep it for OpenAPI jar generation
I have a situation where I would like to not see a HTTP method parameter in the Swagger UI documentation, but still have it generated in my method signature by OpenAPI Java client generation.
I tried ...
0
votes
0
answers
37
views
Micronaut OpenAPI does not generate merged file using micronaut.openapi.additional.files from dependent module YAMLs
I'm trying to generate a single OpenAPI YAML file in an aggregator module that imports other Micronaut modules as dependencies.
Context
I have multiple modules (A, B, C) that define Micronaut ...
0
votes
0
answers
41
views
How to ignore field generation without specified type in openapi generator for Android Kotlin project
I am writing an Android application in Kotlin. To generate models, I use the swagger.yaml file provided to me and kotlinx.serialization. Some models in this file contain a field:
delivery_data:
...
0
votes
0
answers
19k
views
DevOps Release: Failed to import from specified resource http://10.XXX.XXX.XXX/swagger/XXX/swagger.json
In a DevOps Release I am getting suddenly this error in "API Management - Create or Update API" step:
2025-06-25T10:48:25.3264215Z Creating or updating API https://management.azure.com/...
0
votes
1
answer
45
views
How can I replace the generated OpenAPI spec in Swagger (JAX-RS + OpenApiResource) with a custom OpenAPI object?
I'm using Swagger with Jersey (JAX-RS) to serve API documentation. I configure Swagger like this:
ResourceConfig swaggerResourceConfig = new ResourceConfig()
.packages("io.swagger.v3.jaxrs2....
-4
votes
1
answer
80
views
Can I fill schema gaps with a document via MS Kiota's CLI? [closed]
Kiota is a command-line tool that consumes an OpenAPI/Swagger specifications of a more-or-less REST-ful API and generates code for client(s) to call the API.
I am faced with an OpenAPI/Swagger JSON ...
0
votes
0
answers
32
views
ASP.NET Core Web API & EF Core program returns empty responses despite db being in place
My program has a Swagger interface which allows me to send requests to a SQLite database. I should be able to interact with it and perform CRUD operations.
However, even the simple ones like GET() (as ...
1
vote
0
answers
40
views
Swagger UI is unable to render this definition, but only on the server
I am creating two separate swagger pages for my API.
One "Full" page with all endpoints for internal use and one "Limited" page for external users.
So I have added this decorator ...
0
votes
1
answer
107
views
Swagger is not working in my spring boot application when using Docker
I have the springdoc in my application that generates swagger using the default url http://localhost:8090/swagger-ui/index.html
If I run the application without docker it works fine, but when using ...