mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 10:43:44 +00:00 
			
		
		
		
	Override server port for Jetty configuration (#246)
This commit is contained in:
		
							parent
							
								
									4497a1fe47
								
							
						
					
					
						commit
						1492df6cef
					
				@ -27,7 +27,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate --artifact-id petstore-jersey2-java8 -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l java -c bin/java8-petstore-jersey2.json -o samples/client/petstore/java/jersey2-java8 -DhideGenerationTimestamp=true"
 | 
			
		||||
ags="$@ generate --artifact-id petstore-jersey2-java8 -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l java -c bin/java8-petstore-jersey2.json -o samples/client/petstore/java/jersey2-java8 -DhideGenerationTimestamp=true --additional-properties serverPort=8082"
 | 
			
		||||
 | 
			
		||||
echo "Removing files and folders under samples/client/petstore/java/jersey2-java8/src/main"
 | 
			
		||||
rm -rf samples/client/petstore/java/jersey2-java8/src/main
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate --artifact-id cxf-annotated-basepath -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf-annotated-base-path -DhideGenerationTimestamp=true,useAnnotatedBasePath=true"
 | 
			
		||||
ags="$@ generate --artifact-id cxf-annotated-basepath -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf-annotated-base-path -DhideGenerationTimestamp=true,useAnnotatedBasePath=true --additional-properties serverPort=8082"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate --artifact-id cxf-server-non-spring -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf-non-spring-app -DhideGenerationTimestamp=true,generateNonSpringApplication=true"
 | 
			
		||||
ags="$@ generate --artifact-id cxf-server-non-spring -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf-non-spring-app -DhideGenerationTimestamp=true,generateNonSpringApplication=true --additional-properties serverPort=8082"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf -DhideGenerationTimestamp=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS/cxf -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-cxf -o samples/server/petstore/jaxrs-cxf -DhideGenerationTimestamp=true --additional-properties serverPort=8082"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey1 -DhideGenerationTimestamp=true,serverPort=8080 --library=jersey1 --artifact-id=jaxrs-jersey1-server"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey1 -DhideGenerationTimestamp=true,serverPort=8082 --library=jersey1 --artifact-id=jaxrs-jersey1-server"
 | 
			
		||||
 | 
			
		||||
echo "Removing files and folders under samples/server/petstore/jaxrs/jersey1/src/main"
 | 
			
		||||
rm -rf samples/server/petstore/jaxrs/jersey1/src/main
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey1-useTags -DhideGenerationTimestamp=true,serverPort=8080 --library=jersey1 --artifact-id=jaxrs-jersey1-useTags --additional-properties useTags=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey1-useTags -DhideGenerationTimestamp=true,serverPort=8082 --library=jersey1 --artifact-id=jaxrs-jersey1-useTags --additional-properties useTags=true"
 | 
			
		||||
 | 
			
		||||
echo "Removing files and folders under samples/server/petstore/jaxrs/jersey1-useTags/src/main"
 | 
			
		||||
rm -rf samples/server/petstore/jaxrs/jersey1-useTags/src/main
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS/ -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs-datelib-j8/ -c ./bin/jaxrs-datelib-j8.json -DhideGenerationTimestamp=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS/ -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs-datelib-j8/ -c ./bin/jaxrs-datelib-j8.json -DhideGenerationTimestamp=true --additional-properties serverPort=8082"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate --artifact-id jaxrs-jersey-petstore-server -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey2 -DhideGenerationTimestamp=true,serverPort=8080"
 | 
			
		||||
ags="$@ generate --artifact-id jaxrs-jersey-petstore-server -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey2 -DhideGenerationTimestamp=true,serverPort=8082"
 | 
			
		||||
 | 
			
		||||
echo "Removing files and folders under samples/server/petstore/jaxrs/jersey2/src/main"
 | 
			
		||||
rm -rf samples/server/petstore/jaxrs/jersey2/src/main
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey2-useTags -DhideGenerationTimestamp=true,serverPort=8080 --artifact-id=jaxrs-jersey2-useTags --additional-properties useTags=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaJaxRS -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-jersey -o samples/server/petstore/jaxrs/jersey2-useTags -DhideGenerationTimestamp=true,serverPort=8082 --artifact-id=jaxrs-jersey2-useTags --additional-properties useTags=true"
 | 
			
		||||
 | 
			
		||||
echo "Removing files and folders under samples/server/petstore/jaxrs/jersey2-useTags/src/main"
 | 
			
		||||
rm -rf samples/server/petstore/jaxrs/jersey2-useTags/src/main
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -o samples/server/petstore/spring-mvc-j8-async -c bin/spring-mvc-petstore-j8-async.json -DhideGenerationTimestamp=true,java8=true,async=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -o samples/server/petstore/spring-mvc-j8-async -c bin/spring-mvc-petstore-j8-async.json -DhideGenerationTimestamp=true,java8=true,async=true --additional-properties serverPort=8002"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -c bin/spring-mvc-petstore-j8-localdatetime.json -o samples/server/petstore/spring-mvc-j8-localdatetime -DhideGenerationTimestamp=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -c bin/spring-mvc-petstore-j8-localdatetime.json -o samples/server/petstore/spring-mvc-j8-localdatetime -DhideGenerationTimestamp=true --additional-properties serverPort=8002"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,6 @@ fi
 | 
			
		||||
 | 
			
		||||
# if you've executed sbt assembly previously it will use that instead.
 | 
			
		||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -c bin/spring-mvc-petstore-server.json -o samples/server/petstore/spring-mvc -DhideGenerationTimestamp=true"
 | 
			
		||||
ags="$@ generate -t modules/openapi-generator/src/main/resources/JavaSpring -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l spring -c bin/spring-mvc-petstore-server.json -o samples/server/petstore/spring-mvc -DhideGenerationTimestamp=true --additional-properties serverPort=8002"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,8 @@ import java.util.List;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
 | 
			
		||||
public abstract class AbstractJavaJAXRSServerCodegen extends AbstractJavaCodegen implements BeanValidationFeatures {
 | 
			
		||||
    /**
 | 
			
		||||
    public static final String SERVER_PORT = "serverPort";
 | 
			
		||||
	/**
 | 
			
		||||
     * Name of the sub-directory in "src/main/resource" where to find the
 | 
			
		||||
     * Mustache template for the JAX-RS Codegen.
 | 
			
		||||
     */
 | 
			
		||||
@ -72,7 +73,7 @@ public abstract class AbstractJavaJAXRSServerCodegen extends AbstractJavaCodegen
 | 
			
		||||
        cliOptions.add(new CliOption("title", "a title describing the application"));
 | 
			
		||||
 | 
			
		||||
        cliOptions.add(CliOption.newBoolean(USE_BEANVALIDATION, "Use BeanValidation API annotations"));
 | 
			
		||||
        cliOptions.add(new CliOption("serverPort", "The port on which the server should be started"));
 | 
			
		||||
        cliOptions.add(new CliOption(SERVER_PORT, "The port on which the server should be started"));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -111,10 +112,10 @@ public abstract class AbstractJavaJAXRSServerCodegen extends AbstractJavaCodegen
 | 
			
		||||
        }
 | 
			
		||||
        */
 | 
			
		||||
 | 
			
		||||
        if (!this.additionalProperties.containsKey("serverPort")) {
 | 
			
		||||
        if (!this.additionalProperties.containsKey(SERVER_PORT)) {
 | 
			
		||||
            URL url = URLPathUtils.getServerURL(openAPI);
 | 
			
		||||
            // 8080 is the default value for a JEE Server:
 | 
			
		||||
            this.additionalProperties.put("serverPort", URLPathUtils.getPort(url, 8080));
 | 
			
		||||
            this.additionalProperties.put(SERVER_PORT, URLPathUtils.getPort(url, 8080));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (openAPI.getPaths() != null) {
 | 
			
		||||
 | 
			
		||||
@ -559,8 +559,8 @@ public class JavaPKMSTServerCodegen extends AbstractJavaCodegen {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        URL url = URLPathUtils.getServerURL(openAPI);
 | 
			
		||||
 | 
			
		||||
        this.additionalProperties.put("serverPort", URLPathUtils.getPort(url, 8080));
 | 
			
		||||
 | 
			
		||||
        if (openAPI.getPaths() != null) {
 | 
			
		||||
            for (String pathname : openAPI.getPaths().keySet()) {
 | 
			
		||||
                PathItem path = openAPI.getPaths().get(pathname);
 | 
			
		||||
 | 
			
		||||
@ -53,6 +53,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
        implements BeanValidationFeatures, OptionalFeatures {
 | 
			
		||||
    public static final String DEFAULT_LIBRARY = "spring-boot";
 | 
			
		||||
    public static final String TITLE = "title";
 | 
			
		||||
    public static final String SERVER_PORT = "serverPort";
 | 
			
		||||
    public static final String CONFIG_PACKAGE = "configPackage";
 | 
			
		||||
    public static final String BASE_PACKAGE = "basePackage";
 | 
			
		||||
    public static final String INTERFACE_ONLY = "interfaceOnly";
 | 
			
		||||
@ -211,7 +212,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
        if (additionalProperties.containsKey(USE_TAGS)) {
 | 
			
		||||
            this.setUseTags(Boolean.valueOf(additionalProperties.get(USE_TAGS).toString()));
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        if (additionalProperties.containsKey(USE_BEANVALIDATION)) {
 | 
			
		||||
            this.setUseBeanValidation(convertPropertyToBoolean(USE_BEANVALIDATION));
 | 
			
		||||
        }
 | 
			
		||||
@ -234,7 +235,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
 | 
			
		||||
        typeMapping.put("file", "Resource");
 | 
			
		||||
        importMapping.put("Resource", "org.springframework.core.io.Resource");
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        if (useOptional) {
 | 
			
		||||
            writePropertyBack(USE_OPTIONAL, useOptional);
 | 
			
		||||
        }
 | 
			
		||||
@ -313,7 +314,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
                        (sourceFolder + File.separator + configPackage).replace(".", java.io.File.separator), "JacksonConfiguration.java"));
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        if ((!this.delegatePattern && this.java8) || this.delegateMethod) {
 | 
			
		||||
            additionalProperties.put("jdk8-no-delegate", true);
 | 
			
		||||
        }
 | 
			
		||||
@ -429,8 +430,10 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
            additionalProperties.put(TITLE, this.title);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        URL url = URLPathUtils.getServerURL(openAPI);
 | 
			
		||||
        this.additionalProperties.put("serverPort", URLPathUtils.getPort(url, 8080));
 | 
			
		||||
        if(!additionalProperties.containsKey(SERVER_PORT)) {
 | 
			
		||||
            URL url = URLPathUtils.getServerURL(openAPI);
 | 
			
		||||
            this.additionalProperties.put(SERVER_PORT, URLPathUtils.getPort(url, 8080));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (openAPI.getPaths() != null) {
 | 
			
		||||
            for (String pathname : openAPI.getPaths().keySet()) {
 | 
			
		||||
@ -693,7 +696,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
			
		||||
 | 
			
		||||
        return objs;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    public void setUseBeanValidation(boolean useBeanValidation) {
 | 
			
		||||
        this.useBeanValidation = useBeanValidation;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -9,4 +9,4 @@ This server was generated by the [swagger-codegen](https://github.com/swagger-ap
 | 
			
		||||
The underlying library integrating swagger to Spring-MVC is [springfox](https://github.com/springfox/springfox)
 | 
			
		||||
 | 
			
		||||
You can view the server in swagger-ui by pointing to
 | 
			
		||||
http://localhost:8002{{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}/swagger-ui.html
 | 
			
		||||
http://localhost:{{serverPort}}{{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}/swagger-ui.html
 | 
			
		||||
@ -37,7 +37,7 @@
 | 
			
		||||
                    <stopPort>8079</stopPort>
 | 
			
		||||
                    <stopKey>stopit</stopKey>
 | 
			
		||||
                    <httpConnector>
 | 
			
		||||
                        <port>8002</port>
 | 
			
		||||
                        <port>{{serverPort}}</port>
 | 
			
		||||
                        <idleTimeout>60000</idleTimeout>
 | 
			
		||||
                    </httpConnector>
 | 
			
		||||
                </configuration>
 | 
			
		||||
 | 
			
		||||
@ -1,32 +1,32 @@
 | 
			
		||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
			
		||||
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 | 
			
		||||
	<modelVersion>4.0.0</modelVersion>
 | 
			
		||||
	
 | 
			
		||||
	<groupId>{{groupId}}</groupId>
 | 
			
		||||
	<artifactId>{{artifactId}}</artifactId>
 | 
			
		||||
	<version>{{artifactVersion}}</version>
 | 
			
		||||
	<packaging>jar</packaging>
 | 
			
		||||
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 | 
			
		||||
    <modelVersion>4.0.0</modelVersion>
 | 
			
		||||
    
 | 
			
		||||
    <groupId>{{groupId}}</groupId>
 | 
			
		||||
    <artifactId>{{artifactId}}</artifactId>
 | 
			
		||||
    <version>{{artifactVersion}}</version>
 | 
			
		||||
    <packaging>jar</packaging>
 | 
			
		||||
  
 | 
			
		||||
  	<name>{{appName}}</name>
 | 
			
		||||
  	
 | 
			
		||||
	<properties>
 | 
			
		||||
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
		<java.version>1.8</java.version>
 | 
			
		||||
		<junit.version>4.12</junit.version>
 | 
			
		||||
		<vertx.version>3.4.1</vertx.version>
 | 
			
		||||
		<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
 | 
			
		||||
		<vertx-swagger-router.version>{{vertxSwaggerRouterVersion}}</vertx-swagger-router.version>
 | 
			
		||||
		<maven-shade-plugin.version>2.3</maven-shade-plugin.version>
 | 
			
		||||
		<jackson-datatype-jsr310.version>2.7.4</jackson-datatype-jsr310.version>
 | 
			
		||||
	</properties>
 | 
			
		||||
      <name>{{appName}}</name>
 | 
			
		||||
      
 | 
			
		||||
    <properties>
 | 
			
		||||
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
        <java.version>1.8</java.version>
 | 
			
		||||
        <junit.version>4.12</junit.version>
 | 
			
		||||
        <vertx.version>3.4.1</vertx.version>
 | 
			
		||||
        <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
 | 
			
		||||
        <vertx-swagger-router.version>{{vertxSwaggerRouterVersion}}</vertx-swagger-router.version>
 | 
			
		||||
        <maven-shade-plugin.version>2.3</maven-shade-plugin.version>
 | 
			
		||||
        <jackson-datatype-jsr310.version>2.7.4</jackson-datatype-jsr310.version>
 | 
			
		||||
    </properties>
 | 
			
		||||
 | 
			
		||||
	<dependencies>
 | 
			
		||||
		<dependency>
 | 
			
		||||
			<groupId>junit</groupId>
 | 
			
		||||
			<artifactId>junit</artifactId>
 | 
			
		||||
			<version>${junit.version}</version>
 | 
			
		||||
			<scope>test</scope>
 | 
			
		||||
		</dependency>
 | 
			
		||||
    <dependencies>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>junit</groupId>
 | 
			
		||||
            <artifactId>junit</artifactId>
 | 
			
		||||
            <version>${junit.version}</version>
 | 
			
		||||
            <scope>test</scope>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>io.vertx</groupId>
 | 
			
		||||
@ -35,7 +35,7 @@
 | 
			
		||||
            <scope>test</scope>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
		<dependency>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>com.github.phiz71</groupId>
 | 
			
		||||
            <artifactId>vertx-swagger-router</artifactId>
 | 
			
		||||
            <version>${vertx-swagger-router.version}</version>
 | 
			
		||||
@ -47,45 +47,45 @@
 | 
			
		||||
          <version>${jackson-datatype-jsr310.version}</version>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
	</dependencies>
 | 
			
		||||
    </dependencies>
 | 
			
		||||
 | 
			
		||||
	<build>
 | 
			
		||||
		<plugins>
 | 
			
		||||
			<plugin>
 | 
			
		||||
				<artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
				<version>${maven-compiler-plugin.version}</version>
 | 
			
		||||
				<configuration>
 | 
			
		||||
					<source>${java.version}</source>
 | 
			
		||||
					<target>${java.version}</target>
 | 
			
		||||
				</configuration>
 | 
			
		||||
			</plugin>
 | 
			
		||||
			
 | 
			
		||||
			<plugin>
 | 
			
		||||
				<groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
				<artifactId>maven-shade-plugin</artifactId>
 | 
			
		||||
				<version>${maven-shade-plugin.version}</version>
 | 
			
		||||
				<executions>
 | 
			
		||||
					<execution>
 | 
			
		||||
						<phase>package</phase>
 | 
			
		||||
						<goals>
 | 
			
		||||
							<goal>shade</goal>
 | 
			
		||||
						</goals>
 | 
			
		||||
						<configuration>
 | 
			
		||||
							<transformers>
 | 
			
		||||
								<transformer
 | 
			
		||||
									implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
 | 
			
		||||
									<manifestEntries>
 | 
			
		||||
										<Main-Class>io.vertx.core.Starter</Main-Class>
 | 
			
		||||
										<Main-Verticle>{{rootPackage}}.MainApiVerticle</Main-Verticle>
 | 
			
		||||
									</manifestEntries>
 | 
			
		||||
								</transformer>
 | 
			
		||||
							</transformers>
 | 
			
		||||
							<artifactSet />
 | 
			
		||||
							<outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
 | 
			
		||||
						</configuration>
 | 
			
		||||
					</execution>
 | 
			
		||||
				</executions>
 | 
			
		||||
			</plugin>
 | 
			
		||||
		</plugins>
 | 
			
		||||
	</build>
 | 
			
		||||
    <build>
 | 
			
		||||
        <plugins>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
                <version>${maven-compiler-plugin.version}</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <source>${java.version}</source>
 | 
			
		||||
                    <target>${java.version}</target>
 | 
			
		||||
                </configuration>
 | 
			
		||||
            </plugin>
 | 
			
		||||
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-shade-plugin</artifactId>
 | 
			
		||||
                <version>${maven-shade-plugin.version}</version>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <phase>package</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>shade</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <transformers>
 | 
			
		||||
                                <transformer
 | 
			
		||||
                                    implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
 | 
			
		||||
                                    <manifestEntries>
 | 
			
		||||
                                        <Main-Class>io.vertx.core.Starter</Main-Class>
 | 
			
		||||
                                        <Main-Verticle>{{rootPackage}}.MainApiVerticle</Main-Verticle>
 | 
			
		||||
                                    </manifestEntries>
 | 
			
		||||
                                </transformer>
 | 
			
		||||
                            </transformers>
 | 
			
		||||
                            <artifactSet />
 | 
			
		||||
                            <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
        </plugins>
 | 
			
		||||
    </build>
 | 
			
		||||
</project>
 | 
			
		||||
@ -52,10 +52,10 @@
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </snapshots>
 | 
			
		||||
      </repository>
 | 
			
		||||
	  <repository>
 | 
			
		||||
			<id>jitpack.io</id>
 | 
			
		||||
			<url>https://jitpack.io</url>
 | 
			
		||||
	  </repository>
 | 
			
		||||
      <repository>
 | 
			
		||||
            <id>jitpack.io</id>
 | 
			
		||||
            <url>https://jitpack.io</url>
 | 
			
		||||
      </repository>
 | 
			
		||||
   </repositories>
 | 
			
		||||
   <dependencies>
 | 
			
		||||
      <dependency>
 | 
			
		||||
@ -99,35 +99,35 @@
 | 
			
		||||
      {{/zipkinUri}}
 | 
			
		||||
      <!-- if you only want sleuth -->
 | 
			
		||||
      <!-- <dependency>
 | 
			
		||||
		        <groupId>org.springframework.cloud</groupId>
 | 
			
		||||
		        <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
			   </dependency> -->
 | 
			
		||||
                <groupId>org.springframework.cloud</groupId>
 | 
			
		||||
                <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
               </dependency> -->
 | 
			
		||||
      <!-- Sleuth with Zipkin via Spring Cloud Stream -->
 | 
			
		||||
      <!-- <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-stream</artifactId>
 | 
			
		||||
			</dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
			</dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
 | 
			
		||||
			</dependency> -->
 | 
			
		||||
            </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
            </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
 | 
			
		||||
            </dependency> -->
 | 
			
		||||
      <!-- Spring Cloud Sleuth Stream Zipkin Collector -->
 | 
			
		||||
      <!-- <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-zipkin-stream</artifactId>
 | 
			
		||||
			</dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
			</dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
 | 
			
		||||
			</dependency> -->
 | 
			
		||||
            </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId>
 | 
			
		||||
            </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
 | 
			
		||||
            </dependency> -->
 | 
			
		||||
      <dependency>
 | 
			
		||||
         <groupId>org.springframework.boot</groupId>
 | 
			
		||||
         <artifactId>spring-boot-starter-actuator</artifactId>
 | 
			
		||||
      </dependency>
 | 
			
		||||
      <dependency>
 | 
			
		||||
		<groupId>org.springframework.boot</groupId>
 | 
			
		||||
		<artifactId>spring-boot-starter-jetty</artifactId>
 | 
			
		||||
        <groupId>org.springframework.boot</groupId>
 | 
			
		||||
        <artifactId>spring-boot-starter-jetty</artifactId>
 | 
			
		||||
      </dependency>
 | 
			
		||||
      <!--<dependency>
 | 
			
		||||
			<groupId>org.springframework.cloud</groupId>
 | 
			
		||||
			<artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
 | 
			
		||||
		</dependency>
 | 
			
		||||
		<dependency>
 | 
			
		||||
			<groupId>org.springframework.cloud</groupId>
 | 
			
		||||
			<artifactId>spring-cloud-starter-bus-amqp</artifactId>
 | 
			
		||||
		</dependency>-->
 | 
			
		||||
            <groupId>org.springframework.cloud</groupId>
 | 
			
		||||
            <artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>org.springframework.cloud</groupId>
 | 
			
		||||
            <artifactId>spring-cloud-starter-bus-amqp</artifactId>
 | 
			
		||||
        </dependency>-->
 | 
			
		||||
      <dependency>
 | 
			
		||||
         <groupId>org.springframework.cloud</groupId>
 | 
			
		||||
         <artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
 | 
			
		||||
@ -168,14 +168,14 @@
 | 
			
		||||
          <artifactId>commons-logging</artifactId>
 | 
			
		||||
          <version>1.2</version>
 | 
			
		||||
      </dependency>
 | 
			
		||||
	  {{#pkmstInterceptor}}
 | 
			
		||||
      {{#pkmstInterceptor}}
 | 
			
		||||
      <!-- PKMST middleware dependency -->
 | 
			
		||||
		<dependency>
 | 
			
		||||
			<groupId>com.github.rkumar-pk</groupId>
 | 
			
		||||
			<artifactId>pkmst-extension</artifactId>
 | 
			
		||||
			<version>1.0.1</version>
 | 
			
		||||
		</dependency>
 | 
			
		||||
		{{/pkmstInterceptor}}
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>com.github.rkumar-pk</groupId>
 | 
			
		||||
            <artifactId>pkmst-extension</artifactId>
 | 
			
		||||
            <version>1.0.1</version>
 | 
			
		||||
        </dependency>
 | 
			
		||||
        {{/pkmstInterceptor}}
 | 
			
		||||
      <!-- cucumber dependencies -->
 | 
			
		||||
      <dependency>
 | 
			
		||||
         <groupId>info.cukes</groupId>
 | 
			
		||||
@ -260,11 +260,11 @@
 | 
			
		||||
         <groupId>org.springframework</groupId>
 | 
			
		||||
         <artifactId>spring-test</artifactId>
 | 
			
		||||
      </dependency>
 | 
			
		||||
	  <dependency>
 | 
			
		||||
			<groupId>org.threeten</groupId>
 | 
			
		||||
			<artifactId>threetenbp</artifactId>
 | 
			
		||||
			<version>1.3.6</version>
 | 
			
		||||
	  </dependency>
 | 
			
		||||
      <dependency>
 | 
			
		||||
            <groupId>org.threeten</groupId>
 | 
			
		||||
            <artifactId>threetenbp</artifactId>
 | 
			
		||||
            <version>1.3.6</version>
 | 
			
		||||
      </dependency>
 | 
			
		||||
   </dependencies>
 | 
			
		||||
   <dependencyManagement>
 | 
			
		||||
      <dependencies>
 | 
			
		||||
@ -294,7 +294,7 @@
 | 
			
		||||
                        <!-- classes that include the name CucumberTest, as an example -->
 | 
			
		||||
                        <exclude>**/*CucumberTest*.java</exclude>
 | 
			
		||||
                        <!-- classes in a package whose last segment is named cucumber, as
 | 
			
		||||
							an example -->
 | 
			
		||||
                            an example -->
 | 
			
		||||
                        <exclude>**/cucumber/*.java</exclude>
 | 
			
		||||
                     </excludes>
 | 
			
		||||
                  </configuration>
 | 
			
		||||
@ -306,28 +306,28 @@
 | 
			
		||||
                  <version>${scala-maven-plugin.version}</version>
 | 
			
		||||
               </plugin>
 | 
			
		||||
               <!--Enable for Gatling -->
 | 
			
		||||
					<!-- <plugin>
 | 
			
		||||
						<groupId>io.gatling</groupId>
 | 
			
		||||
						<artifactId>gatling-maven-plugin</artifactId>
 | 
			
		||||
						<version>${gatling-plugin.version}</version>
 | 
			
		||||
						<configuration>
 | 
			
		||||
							Run Multiple Simulations
 | 
			
		||||
							<runMultipleSimulations>true</runMultipleSimulations>
 | 
			
		||||
							<includes>
 | 
			
		||||
								<simulationClass>testapi</simulationClass>
 | 
			
		||||
								
 | 
			
		||||
							</includes>
 | 
			
		||||
						</configuration>
 | 
			
		||||
						<executions>
 | 
			
		||||
							<execution>
 | 
			
		||||
								<phase>integration-test</phase>
 | 
			
		||||
								<id>gatling</id>
 | 
			
		||||
								<goals>
 | 
			
		||||
									<goal>execute</goal>
 | 
			
		||||
								</goals>
 | 
			
		||||
							</execution>
 | 
			
		||||
						</executions>
 | 
			
		||||
					</plugin>-->
 | 
			
		||||
                    <!-- <plugin>
 | 
			
		||||
                        <groupId>io.gatling</groupId>
 | 
			
		||||
                        <artifactId>gatling-maven-plugin</artifactId>
 | 
			
		||||
                        <version>${gatling-plugin.version}</version>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            Run Multiple Simulations
 | 
			
		||||
                            <runMultipleSimulations>true</runMultipleSimulations>
 | 
			
		||||
                            <includes>
 | 
			
		||||
                                <simulationClass>testapi</simulationClass>
 | 
			
		||||
                                
 | 
			
		||||
                            </includes>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                        <executions>
 | 
			
		||||
                            <execution>
 | 
			
		||||
                                <phase>integration-test</phase>
 | 
			
		||||
                                <id>gatling</id>
 | 
			
		||||
                                <goals>
 | 
			
		||||
                                    <goal>execute</goal>
 | 
			
		||||
                                </goals>
 | 
			
		||||
                            </execution>
 | 
			
		||||
                        </executions>
 | 
			
		||||
                    </plugin>-->
 | 
			
		||||
               <plugin>
 | 
			
		||||
                  <groupId>org.springframework.boot</groupId>
 | 
			
		||||
                  <artifactId>spring-boot-maven-plugin</artifactId>
 | 
			
		||||
@ -381,9 +381,9 @@
 | 
			
		||||
                           <version>2.19.1</version>
 | 
			
		||||
                        </plugin>
 | 
			
		||||
                        <plugin>
 | 
			
		||||
						   <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
						   <artifactId>maven-pmd-plugin</artifactId>
 | 
			
		||||
						</plugin>
 | 
			
		||||
                           <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                           <artifactId>maven-pmd-plugin</artifactId>
 | 
			
		||||
                        </plugin>
 | 
			
		||||
                     </reportPlugins>
 | 
			
		||||
                  </configuration>
 | 
			
		||||
               </plugin>
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,9 @@
 | 
			
		||||
 | 
			
		||||
package org.openapitools.codegen.java.jaxrs;
 | 
			
		||||
 | 
			
		||||
import io.swagger.v3.oas.models.OpenAPI;
 | 
			
		||||
import io.swagger.v3.oas.models.servers.Server;
 | 
			
		||||
 | 
			
		||||
import org.openapitools.codegen.CodegenConstants;
 | 
			
		||||
import org.openapitools.codegen.CodegenType;
 | 
			
		||||
import org.openapitools.codegen.languages.AbstractJavaJAXRSServerCodegen;
 | 
			
		||||
@ -41,6 +44,10 @@ public class AbstractJavaJAXRSServerCodegenTest {
 | 
			
		||||
        final AbstractJavaJAXRSServerCodegen codegen = new P_AbstractJavaJAXRSServerCodegen();
 | 
			
		||||
        codegen.processOpts();
 | 
			
		||||
 | 
			
		||||
        OpenAPI openAPI = new OpenAPI();
 | 
			
		||||
        openAPI.addServersItem(new Server().url("https://api.abcde.xy:8082/v2"));
 | 
			
		||||
        codegen.preprocessOpenAPI(openAPI);
 | 
			
		||||
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.HIDE_GENERATION_TIMESTAMP), Boolean.FALSE);
 | 
			
		||||
        Assert.assertEquals(codegen.isHideGenerationTimestamp(), false);
 | 
			
		||||
        Assert.assertEquals(codegen.modelPackage(), "org.openapitools.model");
 | 
			
		||||
@ -49,6 +56,7 @@ public class AbstractJavaJAXRSServerCodegenTest {
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.API_PACKAGE), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.getInvokerPackage(), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.INVOKER_PACKAGE), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(AbstractJavaJAXRSServerCodegen.SERVER_PORT), "8082");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
@ -77,8 +85,13 @@ public class AbstractJavaJAXRSServerCodegenTest {
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.MODEL_PACKAGE, "xyz.yyyyy.mmmmm.model");
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.API_PACKAGE, "xyz.yyyyy.aaaaa.api");
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.INVOKER_PACKAGE,"xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        codegen.additionalProperties().put("serverPort","8088");
 | 
			
		||||
        codegen.processOpts();
 | 
			
		||||
 | 
			
		||||
        OpenAPI openAPI = new OpenAPI();
 | 
			
		||||
        openAPI.addServersItem(new Server().url("https://api.abcde.xy:8082/v2"));
 | 
			
		||||
        codegen.preprocessOpenAPI(openAPI);
 | 
			
		||||
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.HIDE_GENERATION_TIMESTAMP), Boolean.TRUE);
 | 
			
		||||
        Assert.assertEquals(codegen.isHideGenerationTimestamp(), true);
 | 
			
		||||
        Assert.assertEquals(codegen.modelPackage(), "xyz.yyyyy.mmmmm.model");
 | 
			
		||||
@ -87,6 +100,7 @@ public class AbstractJavaJAXRSServerCodegenTest {
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.API_PACKAGE), "xyz.yyyyy.aaaaa.api");
 | 
			
		||||
        Assert.assertEquals(codegen.getInvokerPackage(), "xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.INVOKER_PACKAGE), "xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(AbstractJavaJAXRSServerCodegen.SERVER_PORT), "8088");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private static class P_AbstractJavaJAXRSServerCodegen extends AbstractJavaJAXRSServerCodegen {
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,88 @@
 | 
			
		||||
package org.openapitools.codegen.java.spring;
 | 
			
		||||
 | 
			
		||||
import io.swagger.v3.oas.models.OpenAPI;
 | 
			
		||||
import io.swagger.v3.oas.models.info.Info;
 | 
			
		||||
import io.swagger.v3.oas.models.servers.Server;
 | 
			
		||||
 | 
			
		||||
import org.openapitools.codegen.CodegenConstants;
 | 
			
		||||
import org.openapitools.codegen.languages.SpringCodegen;
 | 
			
		||||
import org.testng.Assert;
 | 
			
		||||
import org.testng.annotations.Test;
 | 
			
		||||
 | 
			
		||||
public class SpringCodegenTest {
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testInitialConfigValues() throws Exception {
 | 
			
		||||
        final SpringCodegen codegen = new SpringCodegen();
 | 
			
		||||
        codegen.processOpts();
 | 
			
		||||
 | 
			
		||||
        OpenAPI openAPI = new OpenAPI();
 | 
			
		||||
        openAPI.addServersItem(new Server().url("https://api.abcde.xy:8082/v2"));
 | 
			
		||||
        openAPI.setInfo(new Info());
 | 
			
		||||
        codegen.preprocessOpenAPI(openAPI);
 | 
			
		||||
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.HIDE_GENERATION_TIMESTAMP), Boolean.FALSE);
 | 
			
		||||
        Assert.assertEquals(codegen.isHideGenerationTimestamp(), false);
 | 
			
		||||
        Assert.assertEquals(codegen.modelPackage(), "org.openapitools.model");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.MODEL_PACKAGE), "org.openapitools.model");
 | 
			
		||||
        Assert.assertEquals(codegen.apiPackage(), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.API_PACKAGE), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.getInvokerPackage(), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(SpringCodegen.BASE_PACKAGE), "org.openapitools");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(SpringCodegen.CONFIG_PACKAGE), "org.openapitools.configuration");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.INVOKER_PACKAGE), "org.openapitools.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get("serverPort"), "8082");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testSettersForConfigValues() throws Exception {
 | 
			
		||||
        final SpringCodegen codegen = new SpringCodegen();
 | 
			
		||||
        codegen.setHideGenerationTimestamp(true);
 | 
			
		||||
        codegen.setModelPackage("xx.yyyyyyyy.model");
 | 
			
		||||
        codegen.setApiPackage("xx.yyyyyyyy.api");
 | 
			
		||||
        codegen.setInvokerPackage("xx.yyyyyyyy.invoker");
 | 
			
		||||
        codegen.setBasePackage("xx.yyyyyyyy.base");
 | 
			
		||||
        codegen.setConfigPackage("xx.yyyyyyyy.config");
 | 
			
		||||
        codegen.processOpts();
 | 
			
		||||
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.HIDE_GENERATION_TIMESTAMP), Boolean.TRUE);
 | 
			
		||||
        Assert.assertEquals(codegen.isHideGenerationTimestamp(), true);
 | 
			
		||||
        Assert.assertEquals(codegen.modelPackage(), "xx.yyyyyyyy.model");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.MODEL_PACKAGE), "xx.yyyyyyyy.model");
 | 
			
		||||
        Assert.assertEquals(codegen.apiPackage(), "xx.yyyyyyyy.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.API_PACKAGE), "xx.yyyyyyyy.api");
 | 
			
		||||
        Assert.assertEquals(codegen.getInvokerPackage(), "xx.yyyyyyyy.invoker");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.INVOKER_PACKAGE), "xx.yyyyyyyy.invoker");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testAdditionalPropertiesPutForConfigValues() throws Exception {
 | 
			
		||||
        final SpringCodegen codegen = new SpringCodegen();
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.HIDE_GENERATION_TIMESTAMP, "true");
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.MODEL_PACKAGE, "xyz.yyyyy.mmmmm.model");
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.API_PACKAGE, "xyz.yyyyy.aaaaa.api");
 | 
			
		||||
        codegen.additionalProperties().put(CodegenConstants.INVOKER_PACKAGE,"xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        codegen.additionalProperties().put(SpringCodegen.BASE_PACKAGE,"xyz.yyyyy.bbbb.base");
 | 
			
		||||
        codegen.additionalProperties().put(SpringCodegen.CONFIG_PACKAGE,"xyz.yyyyy.cccc.config");
 | 
			
		||||
        codegen.additionalProperties().put("serverPort","8088");
 | 
			
		||||
        codegen.processOpts();
 | 
			
		||||
 | 
			
		||||
        OpenAPI openAPI = new OpenAPI();
 | 
			
		||||
        openAPI.addServersItem(new Server().url("https://api.abcde.xy:8082/v2"));
 | 
			
		||||
        openAPI.setInfo(new Info());
 | 
			
		||||
        openAPI.getInfo().setTitle("Some test API");
 | 
			
		||||
        codegen.preprocessOpenAPI(openAPI);
 | 
			
		||||
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.HIDE_GENERATION_TIMESTAMP), Boolean.TRUE);
 | 
			
		||||
        Assert.assertEquals(codegen.isHideGenerationTimestamp(), true);
 | 
			
		||||
        Assert.assertEquals(codegen.modelPackage(), "xyz.yyyyy.mmmmm.model");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.MODEL_PACKAGE), "xyz.yyyyy.mmmmm.model");
 | 
			
		||||
        Assert.assertEquals(codegen.apiPackage(), "xyz.yyyyy.aaaaa.api");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.API_PACKAGE), "xyz.yyyyy.aaaaa.api");
 | 
			
		||||
        Assert.assertEquals(codegen.getInvokerPackage(), "xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(CodegenConstants.INVOKER_PACKAGE), "xyz.yyyyy.iiii.invoker");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(SpringCodegen.CONFIG_PACKAGE), "xyz.yyyyy.cccc.config");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(SpringCodegen.TITLE), "someTest");
 | 
			
		||||
        Assert.assertEquals(codegen.additionalProperties().get(SpringCodegen.SERVER_PORT), "8088");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -33,7 +33,7 @@
 | 
			
		||||
          <stopPort>8079</stopPort>
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>-1</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@
 | 
			
		||||
          <stopPort>8079</stopPort>
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>-1</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@
 | 
			
		||||
          <stopPort>8079</stopPort>
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>80</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:80/v2/openapi.json
 | 
			
		||||
http://localhost:8082/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <stopWait>10</stopWait>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>80</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:-1/v2/openapi.json
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ You can deploy the WAR file to Jboss EAP or any other JEE server supporting Jbos
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:-1/v2/openapi.json
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ You can deploy the WAR file to Jboss EAP or any other JEE server supporting Jbos
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:-1/v2/openapi.json
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ You can deploy the WAR file to Jboss EAP or any other JEE server supporting Jbos
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:-1/v2/openapi.json
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:-1/v2/openapi.json
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
http://localhost:8082/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -38,7 +38,7 @@
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <stopWait>10</stopWait>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>8080</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
http://localhost:8082/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -38,7 +38,7 @@
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <stopWait>10</stopWait>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>8080</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
http://localhost:8082/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <stopWait>10</stopWait>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>8080</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ mvn clean package jetty:run
 | 
			
		||||
You can then view the swagger listing here:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
http://localhost:8080/v2/openapi.json
 | 
			
		||||
http://localhost:8082/v2/openapi.json
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Note that if you have configured the `host` to be something other than localhost, the calls through
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@
 | 
			
		||||
          <stopKey>stopit</stopKey>
 | 
			
		||||
          <stopWait>10</stopWait>
 | 
			
		||||
          <httpConnector>
 | 
			
		||||
            <port>8080</port>
 | 
			
		||||
            <port>8082</port>
 | 
			
		||||
            <idleTimeout>60000</idleTimeout>
 | 
			
		||||
          </httpConnector>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,54 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.openapitools.model.Animal;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * AnimalFarm
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class AnimalFarm extends ArrayList<Animal>  {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash(super.hashCode());
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class AnimalFarm {\n");
 | 
			
		||||
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterBoolean
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterBoolean   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterBoolean {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterNumber
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterNumber   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterNumber {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,51 +0,0 @@
 | 
			
		||||
package org.openapitools.model;
 | 
			
		||||
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import org.springframework.validation.annotation.Validated;
 | 
			
		||||
import javax.validation.Valid;
 | 
			
		||||
import javax.validation.constraints.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * OuterString
 | 
			
		||||
 */
 | 
			
		||||
@Validated
 | 
			
		||||
 | 
			
		||||
public class OuterString   {
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public boolean equals(java.lang.Object o) {
 | 
			
		||||
    if (this == o) {
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (o == null || getClass() != o.getClass()) {
 | 
			
		||||
      return false;
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public int hashCode() {
 | 
			
		||||
    return Objects.hash();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Override
 | 
			
		||||
  public String toString() {
 | 
			
		||||
    StringBuilder sb = new StringBuilder();
 | 
			
		||||
    sb.append("class OuterString {\n");
 | 
			
		||||
    
 | 
			
		||||
    sb.append("}");
 | 
			
		||||
    return sb.toString();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Convert the given object to string with each line indented by 4 spaces
 | 
			
		||||
   * (except the first line).
 | 
			
		||||
   */
 | 
			
		||||
  private String toIndentedString(java.lang.Object o) {
 | 
			
		||||
    if (o == null) {
 | 
			
		||||
      return "null";
 | 
			
		||||
    }
 | 
			
		||||
    return o.toString().replace("\n", "\n    ");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user