Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [openapi]

The OpenAPI Specification, originally known as the Swagger Specification, is a specification for machine-readable interface files for describing, producing, consuming, and visualizing RESTful Web services.

0 votes
0 answers
8 views

How to generate openapi doc in express

I'm making a REST service using javascript and express. I have some endpoints and I wanna create a swagger file to serve along with it. I'm using swagger-autogen to generate the swagger file. Even ...
CantBlameM3's user avatar
0 votes
2 answers
38 views

Swagger UI and OpenAPI 3 - Switch request body examples by example $ref

I have 2 schemas with an example. I want to change the request body with the dropdown. Actually everything is working. I have the list with examples displayed and the values in RequestBody change only ...
JDev's user avatar
  • 2,411
0 votes
0 answers
18 views

Using 'org.eclipse.microprofile.openapi' how to hide Paths/Services?

We are using org.eclipse.microprofile.openapi in a JAX-RS application and we have applied the @Schema(hidden = true) annotations both at the class level and at the Path/service level but the services ...
user1340123's user avatar
-1 votes
2 answers
25 views

Upgrade to openAPI not compiling

We are doing a major upgrade from jave 8 to java 21 so we are having to upgrade many things all at once. I am getting this crazy compiler error, I am running mvn compile and getting this error message....
WendyG's user avatar
  • 588
0 votes
0 answers
17 views

The docs generated by fastapi are missing the correct interface

I built an application with Fastapi+MongoDB, the following code about it, when I tested it, I found that Fastapi's docs don't parse the send-code and verify-code interfaces, I searched for a lot of ...
hezizizi's user avatar
-1 votes
1 answer
17 views

How to add Suffix in openapi generator in spring boot gradle?

I am using openapi generator to generate the interface and models from openapi specification. Everything is working fine. But, I want to have suffix in my model name. For example: Employee would be ...
Abhijit Mondal Abhi's user avatar
0 votes
0 answers
29 views

How generated-sources folder is created?

I wonder how generated-sources folder is created under the /target folder. As far as I know it is created from Open API YAML file, however, I cannot find the generated classes as components in the ...
EDOYou's user avatar
  • 35
0 votes
0 answers
18 views

Redocly Response Description on Same Line

I get the following two displays. I prefer the response code and description on the same line. Sometimes it gets displayed on one line and other times, on two lines. The code is identical. What causes ...
ForEachLoop's user avatar
  • 2,566
1 vote
1 answer
33 views

Springdoc OpenAPI add Classpath Yaml

I have an OpenAPI description defined in its own library. This library is used as a gradle dependency in my project. I am using Springdoc v.2.5.0. My project is a Spring Cloud Gateway. Currently, I am ...
dasganni's user avatar
  • 153
0 votes
2 answers
48 views

42Crunch conformance scan issue

I have implemented OpenAPI for the first time for my SpringBoot project. I am stuck with these errors as I don't find documents or solutions anywhere. It would be great if someone could direct me to ...
Manoj's user avatar
  • 1,510
0 votes
0 answers
22 views

OpenAPI Enums getting mixed up during doc generation

I have an object with multiple properties and enums. In the generated documentation, the latter property also has the enums from the former property why is that? Is there something wrong with my yaml? ...
Michael's user avatar
  • 346
0 votes
1 answer
46 views

How replace OneOf to AnyOf in swagger generation

I have a c# code that generates swagger services.AddSwaggerGen(options => { options.UseOneOfForPolymorphism(); options.SelectDiscriminatorNameUsing(_ => "messageType&...
AGDev's user avatar
  • 35
0 votes
0 answers
30 views

How to use a common data type for a schema in openapi?

I've the following schema defined in my userapi.yaml file: SignupRequest: type: object description: Request model for user registration properties: body: ...
Shreyansh Jain's user avatar
-1 votes
1 answer
82 views

fastapi : "GET /docs HTTP/1.1" 404 Not Found [closed]

I recently updated fast api from v0.89.1 to v0.110.0 and I am getting the following error. "GET /docs HTTP/1.1" 404 Not Found There is no other error to help me debug the issue. INFO: ...
Tanu's user avatar
  • 1,472
-1 votes
0 answers
20 views

Orika Mapper map abstract tree Object

I have an abstract tree class: public abstract class TreeBase { private String fieldName; private List<TreeBase > treeNodeChildren = new ArrayList<>(); ...
Blue Moon's user avatar

15 30 50 per page
1
2 3 4 5
313