Fix https://github.com/OpenAPITools/openapi-generator/issues/11570 by ensuring tags at the class level match tags at the method level (#13434)

This commit is contained in:
GregDThomas 2023-02-18 14:23:10 +00:00 committed by GitHub
parent e9f55c0dd9
commit c5d67ee042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
74 changed files with 132 additions and 73 deletions

View File

@ -44,6 +44,7 @@ import java.util.Set;
import java.util.regex.Matcher;
import java.util.stream.Collectors;
import io.swagger.v3.oas.models.tags.Tag;
import org.apache.commons.lang3.tuple.Pair;
import org.openapitools.codegen.CliOption;
import org.openapitools.codegen.CodegenConstants;
@ -802,7 +803,13 @@ public class SpringCodegen extends AbstractJavaCodegen
handleImplicitHeaders(operation);
}
objs.put("tagDescription", ops.get(0).tags.get(0).getDescription());
// The tag for the controller is the first tag of the first operation
final CodegenOperation firstOperation = ops.get(0);
final Tag firstTag = firstOperation.tags.get(0);
final String firstTagName = firstTag.getName();
// But use a sensible tag name if there is none
objs.put("tagName", "default".equals(firstTagName) ? firstOperation.baseName : firstTagName);
objs.put("tagDescription", firstTag.getDescription());
}
return objs;

View File

@ -79,10 +79,10 @@ import {{javaxPackage}}.annotation.Generated;
@Controller
{{/useSpringController}}
{{#swagger2AnnotationLibrary}}
@Tag(name = "{{{baseName}}}", description = {{#tagDescription}}"{{{.}}}"{{/tagDescription}}{{^tagDescription}}"the {{{baseName}}} API"{{/tagDescription}})
@Tag(name = "{{{tagName}}}", description = {{#tagDescription}}"{{{.}}}"{{/tagDescription}}{{^tagDescription}}"the {{{tagName}}} API"{{/tagDescription}})
{{/swagger2AnnotationLibrary}}
{{#swagger1AnnotationLibrary}}
@Api(value = "{{{baseName}}}", description = {{#tagDescription}}"{{{.}}}"{{/tagDescription}}{{^tagDescription}}"the {{{baseName}}} API"{{/tagDescription}})
@Api(value = "{{{tagName}}}", description = {{#tagDescription}}"{{{.}}}"{{/tagDescription}}{{^tagDescription}}"the {{{tagName}}} API"{{/tagDescription}})
{{/swagger1AnnotationLibrary}}
{{#operations}}
{{#virtualService}}

View File

@ -1896,6 +1896,18 @@ public class SpringCodegenTest {
.assertMethod("typeConverter");
}
@Test
public void shouldUseTheSameTagNameForTheInterfaceAndTheMethod_issue11570() throws IOException {
final Map<String, File> output = generateFromContract("src/test/resources/bugs/issue_11570.yml", SPRING_BOOT);
final String expectedTagName = "\"personTagWithExclamation!\"";
final String expectedTagDescription = "\"the personTagWithExclamation! API\"";
final String interfaceTag = "@Tag(name = " + expectedTagName + ", description = " + expectedTagDescription + ")";
final String methodTag = "tags = { " + expectedTagName + " }";
assertFileContains(output.get("PersonApi.java").toPath(), interfaceTag, methodTag);
}
private Map<String, File> generateFromContract(String url, String library) throws IOException {
return generateFromContract(url, library, new HashMap<>());
}

View File

@ -0,0 +1,40 @@
openapi: 3.0.0
info:
description: Specification to reproduce issue 11570 where the wrong tags are applied to the controller
title: Required Api
paths:
'/person':
post:
summary: Inserts a person
operationId: postPerson
tags:
- personTagWithExclamation!
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Person'
responses: ...
components:
schemas:
Person:
type: object
required:
- name
properties:
name:
type: string
maxLength: 50
format: email
id:
type: integer
Alien:
type: object
properties:
name:
type: string
id:
type: integer

View File

@ -26,7 +26,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Pet", description = "Everything about your Pets")
@Api(value = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -26,7 +26,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Store", description = "Access to Petstore orders")
@Api(value = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -27,7 +27,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "User", description = "Operations about user")
@Api(value = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Pet", description = "Everything about your Pets")
@Api(value = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Store", description = "Access to Petstore orders")
@Api(value = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -26,7 +26,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "User", description = "Operations about user")
@Api(value = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -27,7 +27,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Pet", description = "Everything about your Pets")
@Api(value = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Store", description = "Access to Petstore orders")
@Api(value = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -26,7 +26,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "User", description = "Operations about user")
@Api(value = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Pet", description = "Everything about your Pets")
@Api(value = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "Store", description = "Access to Petstore orders")
@Api(value = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -26,7 +26,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "User", description = "Operations about user")
@Api(value = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -35,7 +35,7 @@ import jakarta.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Pet", description = "Everything about your Pets")
@Tag(name = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -35,7 +35,7 @@ import jakarta.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Store", description = "Access to Petstore orders")
@Tag(name = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -36,7 +36,7 @@ import jakarta.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "User", description = "Operations about user")
@Tag(name = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Pet", description = "Everything about your Pets")
@Tag(name = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Store", description = "Access to Petstore orders")
@Tag(name = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -37,7 +37,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "User", description = "Operations about user")
@Tag(name = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "AnotherFake", description = "the AnotherFake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
/**

View File

@ -43,7 +43,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Fake", description = "the Fake API")
@Tag(name = "fake", description = "the fake API")
public interface FakeApi {
/**

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "FakeClassnameTags123", description = "the FakeClassnameTags123 API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTags123Api {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Pet", description = "Everything about your Pets")
@Tag(name = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Store", description = "Access to Petstore orders")
@Tag(name = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "User", description = "Operations about user")
@Tag(name = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -37,7 +37,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Pet", description = "Everything about your Pets")
@Tag(name = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Store", description = "Access to Petstore orders")
@Tag(name = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "User", description = "Operations about user")
@Tag(name = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Pet", description = "Everything about your Pets")
@Tag(name = "pet", description = "Everything about your Pets")
public interface PetApi {
/**

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "Store", description = "Access to Petstore orders")
@Tag(name = "store", description = "Access to Petstore orders")
public interface StoreApi {
/**

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "User", description = "Operations about user")
@Tag(name = "user", description = "Operations about user")
public interface UserApi {
/**

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "bar", description = "the bar API")
@Tag(name = "Bar", description = "the Bar API")
public interface BarApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -35,7 +35,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "foo", description = "the foo API")
@Tag(name = "Foo", description = "the Foo API")
public interface FooApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -30,7 +30,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -30,7 +30,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
/**

View File

@ -34,7 +34,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
/**

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -25,7 +25,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default AnotherFakeApiDelegate getDelegate() {

View File

@ -20,7 +20,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default FakeClassnameTestApiDelegate getDelegate() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "another-fake", description = "the another-fake API")
@Tag(name = "$another-fake?", description = "the $another-fake? API")
@VirtualService
public interface AnotherFakeApi {

View File

@ -36,7 +36,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
@Tag(name = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
@VirtualService
public interface FakeClassnameTestApi {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "another-fake", description = "the another-fake API")
@Api(value = "$another-fake?", description = "the $another-fake? API")
public interface AnotherFakeApi {
default Optional<NativeWebRequest> getRequest() {

View File

@ -24,7 +24,7 @@ import javax.annotation.Generated;
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
@Validated
@Api(value = "fake_classname_test", description = "the fake_classname_test API")
@Api(value = "fake_classname_tags 123#$%^", description = "the fake_classname_tags 123#$%^ API")
public interface FakeClassnameTestApi {
default Optional<NativeWebRequest> getRequest() {