8 questions
-3
votes
1
answer
185
views
Disabling donation banner of openapi-generator-gradle-plugin
I am using the Maven repository openapi-generator-gradle-plugin version 7.14.0
I want to disable the console banner of openapi-generator-gradle-plugin.
I have this code to generate my code from api ...
0
votes
1
answer
42
views
Configuring openapi-generator-gradle-plugin in toml file for Gradle
I am using Gradle 8.2.0 and Gradle Plugin openapi-generator-gradle-plugin 7.2.0
When I use the old format like:
buildscript {
repositories {
mavenLocal()
mavenCentral()
...
0
votes
0
answers
55
views
Springboot Web mapping same controller as 2 beans
I'm generating controller code from openapi3 spec using gradle openapi generator plugin 6.3.0.
Generate, compile works fine, but getting a runtime error:
Caused by: java.lang.IllegalStateException: ...
1
vote
2
answers
83
views
Jackson can't deserialize some values with @get:JsonProperty
When I'm trying to deserialize code below
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
fun main() {
val objectMapper = ...
1
vote
0
answers
281
views
How to generate multiple ApiClients with different base paths so each client can consume different services with openapi-generator in Gradle
I'm trying to generate two different clients with openapi-generator using the Gradle plugin in a springboot project, each client has its own spec.yaml and each spec.yaml has its own path for server....
1
vote
0
answers
44
views
Duplicate Hibernate validation ConstraintViolations on Lomboks @Data bean
I have a Lombok bean:
@Data
public class Foo {
@NotBlank
@Schema(description = "Organization label")
@Pattern(regexp = "^[-a-zA-Z0-9]+(\\.[-a-zA-Z0-9]+)?$", message = &...
3
votes
1
answer
3k
views
OpenAPI Generator with 3 date types (LocalDate, LocalDateTime, ZonedDateTime)
I have an existing service that is manually written with Spring controllers which I am trying to migrate to using OpenAPI Generator. I've encountered the following blocking problem:
The server is ...
2
votes
1
answer
2k
views
OpenAPI Generator Gradle Plugin ~ How to apply custom templates
I am using the OpenAPI Generator Gradle Plugin to generate a html documentation for my project using the html2 generator. Now, I want to use templates to slightly adjust the output (specifically, I ...