openapi-generator Questions

2

Solved

I have a spring boot application with a java client generated via the gradle plugin: openApiGenerate { generatorName = "java" inputSpec = specsYml outputDir = "$buildDir/generated...
Speaks asked 27/7, 2020 at 10:23

2

Solved

I want to create a gradle java application that generates a client from an openAPI specification file and uses that client. So I created a java application with gradle init (type:application, langu...
Baroda asked 23/7, 2020 at 12:42

0

In previous version of open-api-maven-generator (4.3.1) I had inheritance with 1 field BaseField: type: object properties: id: type:integer and used it to schemas where I needed it like allOf...
Buckle asked 24/6, 2021 at 22:20

1

Solved

Right now my Api returns a model with a Dictionary<int, string> property in it: public Dictionary<int, string> Subdivisions { get; set; } When I run OpenApi Generator, the output class...
Heiney asked 12/5, 2021 at 1:13

0

I'm currently in the process of updating a gradle project with OpenApiGenerator plugin. I updated both the gradle version (v7.0) and the OpenApiGenerator plugin version (5.1.0). When I'm trying to ...
Chanteuse asked 20/4, 2021 at 17:12

2

Solved

I have an OpenAPI 3.0 schema YAML document that defines some API endpoints with all the required parameters and responses. Now, I'd like to generate some boilerplate server-side code: the control...

2

Solved

I tried to generate Spring REST interfaces from OpenAPI v3 YAML file. Build says: Successfully generated code to property(class java.lang.String, property(class java.lang.String, fixed(class java....
Osei asked 5/9, 2019 at 9:52

1

I am trying to generate the interfaces only with OpenApi and their maven plugin openapi-generator-maven-plugin but it also generates the full services with it that I don't want/need. Now I have fo...
Hardworking asked 16/4, 2019 at 13:39

0

I've an OpenAPI contract like this: openapi: 3.0.1 info: title: Internal API version: '' tags: - name: Calendar description: Api for Calendar resource paths: '/api/v1/appointments/{id}': get:...
Implicatory asked 17/3, 2021 at 8:30

0

I have a Spring Boot (2.4.0) REST service, using Java 11. The endpoints and objects are generated from an OpenAPI 3.0.3 file using openapi-generator-maven-plugin v5.0.1 In the API there is a GET re...
Playback asked 25/2, 2021 at 16:7

1

Description I have an exposed file from spring boot server and I am using this script to generate a typescript angular client openapi-generator-cli generate -g typescript-angular -i ./src/app/data/...
Bregenz asked 5/10, 2020 at 10:5

4

Solved

Swagger Code Generator can generate SDKs in many languages (listed below from the Github project page). Does anyone use any of Swagger's auto-generated SDKs in production, both as alpha/beta and as...

1

Solved

I am using the typescript-rxjs generator. Whenever I generate a new version of my API clients, all files get changed, 99% of them because of the version change: * The version of the OpenAPI documen...
Dragoman asked 7/12, 2020 at 5:35

2

Solved

I have a Java Gradle project that uses an OpenAPI specified API. I've used the org.openapi.generator plugin which generates sources as well as a complete Gradle module. I expect that there's a way ...
Pullet asked 30/12, 2020 at 8:45

3

Solved

I am lost in dependencies and tools: I previously use the following tool to generate code for my swagger webservices. swagger-codegen-cli https://mvnrepository.com/artifact/io.swagger.codegen.v3...
Equestrian asked 21/10, 2019 at 8:51

1

Solved

We're using the openapi generator to generate our REST client. Works really well, until we started using enums in the UPERCASE_UNDERSCORE format. It strips out the underscore. The main problem with...
Harhay asked 2/12, 2019 at 8:57

1

I created a Spring Boot server using the tools at swagger.io, which I'm now porting to OpenAPITools. But I can't find the equivalent generator. I tried setting the generaterName to spring, but it c...
Hbeam asked 11/10, 2020 at 12:32

0

I've installed jquery and @types/jquery. I want to use jquery.Deferred() but when i try to use it I get error that "$.Deferred is not a function". import * as $ from "jquery"; u...

1

Solved

I'm migrating my API from Swagger 2.0 to OpenAPI 3.0. In a DTO I have a field specified as a byte array. Swagger definition of the DTO: Job: type: object properties: body: type: string format:...
Destroyer asked 8/7, 2020 at 12:35

1

I am trying to generate Apis with openapi generator just when i run mvn compile seems like doesn't find any depenncy like jacks httprequest and so, i add the details down i added the plugin: <pl...
Zoniazoning asked 26/6, 2020 at 22:54

0

When trying to generate server-side stubs for ktor from openapi, the output to me does not really look very usable. I set up an example project on Github, where the setup can be reviewed. As I nee...
Woodcock asked 26/5, 2020 at 16:40

2

When I try to start my Spring Boot Service I get the error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxMBeanExporter' defined in class path resource...
Persevere asked 10/5, 2020 at 12:52

1

I'm new to the OpenAPI 3.0.0. I have successfully created a java client library using an openapi-generator. But OpenAPI Generator allows the generation of API client libraries (SDK generation),...
Citified asked 14/1, 2020 at 3:30

1

Solved

I am using Swagger Codegen 3.0.19, also tried OpenAPI Generator 4.0.3. Java Environment: Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13,...
Integrity asked 11/4, 2020 at 13:34

1

I have below schema definition to represent commission amount in my openapi contract. commissionAmount: type: number minimum: -99999.99 maximum: 99999.99 Generated Code: @Valid @DecimalMin("...
Wellbeloved asked 23/3, 2020 at 6:11

© 2022 - 2024 — McMap. All rights reserved.