mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-02 06:50:53 +00:00
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:
parent
e9f55c0dd9
commit
c5d67ee042
@ -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;
|
||||
|
@ -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}}
|
||||
|
@ -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<>());
|
||||
}
|
||||
|
@ -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
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user