openapi-generator Questions
0
I have a REST service that takes an id and two strings as json and returns the id and the two strings concatenated as json. If there errors it can return statuscodes 400, 404 and 500 with a json er...
Glume asked 20/2, 2020 at 10:40
1
Solved
I finally managed to generate an Angular client using this tutorial using the openapi-generator-maven-plugin.
I had to make a few adaptations e.g. using different dependencies
<!-- Spring Docs...
Ignitron asked 19/1, 2020 at 18:52
1
Solved
I am generating code for typescript-angular with the openapi-generator-maven-plugin like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xm...
Arabeila asked 20/11, 2019 at 10:29
2
Solved
I'm using OpenApi v3.3.4 (formerly called Swagger CodeGen) maven plugin to generate my rest controller via api.yml files where I describe all the operations I want to expose.
In my use case, I want...
Landy asked 27/11, 2019 at 14:23
1
Solved
I have an Open API 3 spec yaml file that has some x- prefixed properties. I'm trying to generate an Angular Typescript SDK using openapi-generator-cli. However when I reference the property in the ...
Seamy asked 4/9, 2019 at 22:15
1
Solved
We are using OpenAPI via gradle (i.e. openapi-generator-gradle-plugin) for generating Jersey resources. Generally speaking this works fine.
The generated methods look like this:
public Response ...
Chon asked 4/9, 2019 at 11:49
0
I create XML API specification using OpenAPI 3.0 with additional xml metadata, as described in Swagger docs. During development phase I would like to automatically test my endpoint's XML response a...
Septivalent asked 2/9, 2019 at 14:48
1
I am trying to workout a generated server side Spring MVC code for a OpenApi 3.0.2 specification.
This is how one of the `paths' look like :-
paths:
/api/v1/int/integrations/{some-path-variable}...
Mucilaginous asked 26/8, 2019 at 8:52
1
I am defining a REST API in OpenAPI3 (Swagger).
I have an API that has a POST which uses a Model I have defined in teh components section as follows:
post:
summary: "Used to add some data"
oper...
Colon asked 12/8, 2019 at 9:58
1
Solved
I'm trying to make an OpenAPI autogenerated PHP client using anyOf and allOf properties.
The goal is to be able to return an array with polymorphism in it: objects of different types.
Also those o...
Suite asked 1/8, 2019 at 16:22
1
Solved
I am trying to use OpenAPI generator to automatically generate C# client code based on a openapi: "3.0.2" json configuration:
openapi-generator generate -i https://test.com/docs/swagger/openapi.js...
Polk asked 7/8, 2019 at 14:24
1
Solved
Using openapi-generator to generate a C# API client using an openapi v3.0 specification. Is there a way to customize the methodNames of the API? I'd prefer to be able to specify them maybe by using...
Diazonium asked 5/6, 2019 at 16:24
2
Solved
I want to use Swagger Codegen for OpenAPI 3.0 YAML file. And I see Swagger Codegen 3.0.0-rc0 is available. But when I try to use that I run into issues. Following are the details:
My pom.xml file ...
Donohue asked 2/4, 2018 at 18:18
1
Solved
We are using a large third party API with many optional features. There are 27 endpoints and we need only a few of these from Maven. We are using server side generation.
If you are interested the ...
Pa asked 17/4, 2019 at 13:29
1
We are currently specifying a new REST service API using OpenAPI Service Specification v3 OAS3. Because of a bunch of different reasons we need/want to make the service API versioned from the start...
Finnell asked 13/3, 2019 at 13:19
1
I apologize if this has been answered already, but I can't find a clear answer.
Does the current generator support authentication?
I need to generate a client with 2 potential ways of authenticat...
Neelyneeoma asked 14/3, 2019 at 12:8
2
I've a requirement to create a HTTP API layer over a legacy API interface written in C++. My plan is to generate the Swagger or open API file and then make it available to bunch of projects that ne...
Krystakrystal asked 10/12, 2018 at 3:52
1
Solved
I have below openapi document. I expected the API class name to be generated will be SampleApi because the operation "/hello" is tagged with "sample"
tags. But it is generating the API class name ...
Prevalent asked 22/1, 2019 at 14:54
4
Solved
At the time of writing this the OpenAPI 3 spec is relatively new. I am struggling to find any documentation generators that support version 3.0.
Does anyone know of generators that support OpenAPI...
Refrigerant asked 19/9, 2017 at 2:39
© 2022 - 2024 — McMap. All rights reserved.