mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 10:43:44 +00:00 
			
		
		
		
	Fix Swift3 test cases and add pom.xml, travis config for iOS test (#7608)
* add pom.xml for testing objc, swift * add travis config for testing swift, objc * test swift, objc clients * use ruby 2.4.2 * remove stack * update swift3 petstore * test with xcode9 * remove testing inline additional properties for swift3 * restore travis, pom
This commit is contained in:
		
							parent
							
								
									d38a090395
								
							
						
					
					
						commit
						52f606b8dc
					
				
							
								
								
									
										69
									
								
								.travis.yml.ios
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								.travis.yml.ios
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,69 @@
 | 
			
		||||
sudo: required
 | 
			
		||||
language: objective-c
 | 
			
		||||
osx_image: xcode8.1
 | 
			
		||||
cache:
 | 
			
		||||
  directories:
 | 
			
		||||
  - $HOME/.m2
 | 
			
		||||
  - $HOME/.ivy2
 | 
			
		||||
  - $HOME/.gradle/caches/
 | 
			
		||||
  - $HOME/.gradle/wrapper/
 | 
			
		||||
  - $HOME/.stack
 | 
			
		||||
  - $HOME/samples/client/petstore/php/SwaggerClient-php/vendor
 | 
			
		||||
  - $HOME/samples/client/petstore/ruby/venodr/bundle
 | 
			
		||||
  - $HOME/samples/client/petstore/python/.venv/
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-node/npm/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-node/npm/typings/
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/tests/default/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/tests/default/typings
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/builds/default/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/builds/default/typings
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/typings
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/builds/with-npm-version/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-fetch/npm/with-npm-version/typings
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-angularjs/node_modules
 | 
			
		||||
  - $HOME/samples/client/petstore/typescript-angularjs/typings
 | 
			
		||||
  - $HOME/.cocoapods/repos/master
 | 
			
		||||
  timeout: 1000
 | 
			
		||||
 | 
			
		||||
# comment out the host table change to use the public petstore server
 | 
			
		||||
addons:
 | 
			
		||||
  hosts:
 | 
			
		||||
    - petstore.swagger.io
 | 
			
		||||
 | 
			
		||||
before_install:
 | 
			
		||||
  - export SW=`pwd`
 | 
			
		||||
  - rvm list
 | 
			
		||||
  - rvm use 2.3.0
 | 
			
		||||
  - gem environment
 | 
			
		||||
  - gem install bundler -N --no-ri --no-rdoc
 | 
			
		||||
  - gem install cocoapods -v 1.2.1 -N --no-ri --no-rdoc
 | 
			
		||||
  - gem install xcpretty -N --no-ri --no-rdoc
 | 
			
		||||
  - pod --version
 | 
			
		||||
  # comment out below to avoid errors
 | 
			
		||||
  #- pod repo update
 | 
			
		||||
  - pod setup --silent > /dev/null
 | 
			
		||||
  - mkdir -p ~/.local/bin
 | 
			
		||||
  - export PATH=$HOME/.local/bin:$PATH
 | 
			
		||||
  # start local petstore server
 | 
			
		||||
  - git clone -b docker --single-branch https://github.com/wing328/swagger-samples
 | 
			
		||||
  - cd swagger-samples/java/java-jersey-jaxrs
 | 
			
		||||
  - sudo mvn jetty:run &
 | 
			
		||||
  - cd $SW
 | 
			
		||||
 | 
			
		||||
  # show host table to confirm petstore.swagger.io is mapped to localhost
 | 
			
		||||
  - cat /etc/hosts
 | 
			
		||||
  # show java version
 | 
			
		||||
  - java -version
 | 
			
		||||
  # show brew version
 | 
			
		||||
  - brew --version
 | 
			
		||||
  # show xcpretty version
 | 
			
		||||
  - xcpretty -v
 | 
			
		||||
  # show go version
 | 
			
		||||
  - go version
 | 
			
		||||
  # show stack version
 | 
			
		||||
  - stack --version
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
  # run integration tests defined in maven pom.xml
 | 
			
		||||
  - mvn -q --batch-mode verify -Psamples
 | 
			
		||||
@ -26,6 +26,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 -v -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-objcCompatible.json -o samples/client/petstore/swift3/objcCompatible $@"
 | 
			
		||||
ags="generate -v -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-objcCompatible.json -o samples/client/petstore/swift3/objcCompatible $@"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -26,6 +26,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/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-promisekit.json -o samples/client/petstore/swift3/promisekit $@"
 | 
			
		||||
ags="generate -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-promisekit.json -o samples/client/petstore/swift3/promisekit $@"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -26,6 +26,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/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-rxswift.json -o samples/client/petstore/swift3/rxswift $@"
 | 
			
		||||
ags="generate -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-rxswift.json -o samples/client/petstore/swift3/rxswift $@"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -26,6 +26,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/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-unwraprequired.json -o samples/client/petstore/swift3/unwraprequired"
 | 
			
		||||
ags="$@ generate -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore-unwraprequired.json -o samples/client/petstore/swift3/unwraprequired"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
@ -26,6 +26,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/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore.json -o samples/client/petstore/swift3/default $@"
 | 
			
		||||
ags="generate -t modules/swagger-codegen/src/main/resources/swift3 -i modules/swagger-codegen/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -l swift3 -c ./bin/swift3-petstore.json -o samples/client/petstore/swift3/default $@"
 | 
			
		||||
 | 
			
		||||
java $JAVA_OPTS -jar $executable $ags
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							@ -838,7 +838,7 @@
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <!-- <module>samples/server/petstore/erlang-server</module> note: make sample compilation work -->
 | 
			
		||||
				<!-- clients -->
 | 
			
		||||
                <!-- clients -->
 | 
			
		||||
                <module>samples/client/petstore/php/SwaggerClient-php</module>
 | 
			
		||||
                <module>samples/client/petstore/ruby</module>
 | 
			
		||||
                <module>samples/client/petstore/scala</module>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										938
									
								
								pom.xml.ios
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										938
									
								
								pom.xml.ios
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,938 @@
 | 
			
		||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 | 
			
		||||
    <parent>
 | 
			
		||||
        <groupId>org.sonatype.oss</groupId>
 | 
			
		||||
        <artifactId>oss-parent</artifactId>
 | 
			
		||||
        <version>5</version>
 | 
			
		||||
    </parent>
 | 
			
		||||
    <modelVersion>4.0.0</modelVersion>
 | 
			
		||||
    <groupId>io.swagger</groupId>
 | 
			
		||||
    <artifactId>swagger-codegen-project</artifactId>
 | 
			
		||||
    <packaging>pom</packaging>
 | 
			
		||||
    <name>swagger-codegen-project</name>
 | 
			
		||||
    <version>2.4.0-SNAPSHOT</version>
 | 
			
		||||
    <url>https://github.com/swagger-api/swagger-codegen</url>
 | 
			
		||||
    <scm>
 | 
			
		||||
        <connection>scm:git:git@github.com:swagger-api/swagger-codegen.git</connection>
 | 
			
		||||
        <developerConnection>scm:git:git@github.com:swagger-api/swagger-codegen.git</developerConnection>
 | 
			
		||||
        <url>https://github.com/swagger-api/swagger-codegen</url>
 | 
			
		||||
    </scm>
 | 
			
		||||
    <developers>
 | 
			
		||||
        <developer>
 | 
			
		||||
            <id>fehguy</id>
 | 
			
		||||
            <name>Tony Tam</name>
 | 
			
		||||
            <email>fehguy@gmail.com</email>
 | 
			
		||||
        </developer>
 | 
			
		||||
        <developer>
 | 
			
		||||
            <id>wing328</id>
 | 
			
		||||
            <name>William Cheng</name>
 | 
			
		||||
            <email>wing328hk@gmail.com</email>
 | 
			
		||||
        </developer>
 | 
			
		||||
    </developers>
 | 
			
		||||
    <issueManagement>
 | 
			
		||||
        <system>github</system>
 | 
			
		||||
        <url>https://github.com/swagger-api/swagger-codegen/issues</url>
 | 
			
		||||
    </issueManagement>
 | 
			
		||||
    <mailingLists>
 | 
			
		||||
        <mailingList>
 | 
			
		||||
            <name>swagger-swaggersocket</name>
 | 
			
		||||
            <archive>https://groups.google.com/forum/#!forum/swagger-swaggersocket</archive>
 | 
			
		||||
        </mailingList>
 | 
			
		||||
    </mailingLists>
 | 
			
		||||
    <licenses>
 | 
			
		||||
        <license>
 | 
			
		||||
            <name>Apache License 2.0</name>
 | 
			
		||||
            <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
 | 
			
		||||
            <distribution>repo</distribution>
 | 
			
		||||
        </license>
 | 
			
		||||
    </licenses>
 | 
			
		||||
    <build>
 | 
			
		||||
        <sourceDirectory>src/main/java</sourceDirectory>
 | 
			
		||||
        <outputDirectory>target/classes</outputDirectory>
 | 
			
		||||
        <extensions>
 | 
			
		||||
            <extension>
 | 
			
		||||
                <groupId>org.jvnet.wagon-svn</groupId>
 | 
			
		||||
                <artifactId>wagon-svn</artifactId>
 | 
			
		||||
                <version>1.8</version>
 | 
			
		||||
            </extension>
 | 
			
		||||
            <extension>
 | 
			
		||||
                <groupId>org.apache.maven.wagon</groupId>
 | 
			
		||||
                <artifactId>wagon-ssh-external</artifactId>
 | 
			
		||||
                <version>1.0-alpha-6</version>
 | 
			
		||||
            </extension>
 | 
			
		||||
            <extension>
 | 
			
		||||
                <groupId>org.apache.maven.wagon</groupId>
 | 
			
		||||
                <artifactId>wagon-webdav</artifactId>
 | 
			
		||||
                <version>1.0-beta-1</version>
 | 
			
		||||
            </extension>
 | 
			
		||||
        </extensions>
 | 
			
		||||
        <defaultGoal>install</defaultGoal>
 | 
			
		||||
        <directory>target</directory>
 | 
			
		||||
        <finalName>${project.artifactId}-${project.version}</finalName>
 | 
			
		||||
        <plugins>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>net.revelc.code</groupId>
 | 
			
		||||
                <artifactId>formatter-maven-plugin</artifactId>
 | 
			
		||||
                <!-- Uncomment this to format before checkstyle -->
 | 
			
		||||
                <!-- <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>format</id>
 | 
			
		||||
                        <phase>validate</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>format</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions> -->
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <compilerSource>1.7</compilerSource>
 | 
			
		||||
                    <compilerCompliance>1.7</compilerCompliance>
 | 
			
		||||
                    <compilerTargetPlatform>1.7</compilerTargetPlatform>
 | 
			
		||||
                    <lineEnding>LF</lineEnding>
 | 
			
		||||
                </configuration>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <!--<plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-checkstyle-plugin</artifactId>
 | 
			
		||||
                <version>2.17</version>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>validate</id>
 | 
			
		||||
                        <phase>validate</phase>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <configLocation>google_checkstyle.xml</configLocation>
 | 
			
		||||
                            Don't include generated sources a la http://stackoverflow.com/a/30406454
 | 
			
		||||
                            <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
 | 
			
		||||
                            <encoding>UTF-8</encoding>
 | 
			
		||||
                            <consoleOutput>true</consoleOutput>
 | 
			
		||||
                            <failsOnError>true</failsOnError>
 | 
			
		||||
                            <linkXRef>false</linkXRef>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>check</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
                <dependencies>
 | 
			
		||||
                    <dependency>
 | 
			
		||||
                        <groupId>com.puppycrawl.tools</groupId>
 | 
			
		||||
                        <artifactId>checkstyle</artifactId>
 | 
			
		||||
                        <version>6.19</version>
 | 
			
		||||
                    </dependency>
 | 
			
		||||
                </dependencies>
 | 
			
		||||
            </plugin>-->
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-surefire-plugin</artifactId>
 | 
			
		||||
                <version>${surefire-version}</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <testNGArtifactName>none:none</testNGArtifactName>
 | 
			
		||||
                    <argLine>-XX:+StartAttachListener</argLine>
 | 
			
		||||
                </configuration>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>test-testng</id>
 | 
			
		||||
                        <phase>test</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>test</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <junitArtifactName>none:none</junitArtifactName>
 | 
			
		||||
                            <testNGArtifactName>org.testng:testng</testNGArtifactName>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <artifactId>maven-dependency-plugin</artifactId>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <phase>package</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>copy-dependencies</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
                <version>3.6.1</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <source>1.7</source>
 | 
			
		||||
                    <target>1.7</target>
 | 
			
		||||
                </configuration>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-jar-plugin</artifactId>
 | 
			
		||||
                <version>3.0.2</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <archive>
 | 
			
		||||
                        <manifestEntries>
 | 
			
		||||
                            <mode>development</mode>
 | 
			
		||||
                            <url>${project.url}</url>
 | 
			
		||||
                            <implementation-version>${project.version}</implementation-version>
 | 
			
		||||
                            <package>io.swagger</package>
 | 
			
		||||
                        </manifestEntries>
 | 
			
		||||
                    </archive>
 | 
			
		||||
                </configuration>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-site-plugin</artifactId>
 | 
			
		||||
                <version>3.5.1</version>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-release-plugin</artifactId>
 | 
			
		||||
                <version>2.5.3</version>
 | 
			
		||||
            </plugin>
 | 
			
		||||
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-javadoc-plugin</artifactId>
 | 
			
		||||
                <version>2.10.4</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <aggregate>true</aggregate>
 | 
			
		||||
                    <source>1.7</source>
 | 
			
		||||
                    <encoding>UTF-8</encoding>
 | 
			
		||||
                    <maxmemory>1g</maxmemory>
 | 
			
		||||
                    <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
 | 
			
		||||
                </configuration>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>attach-javadocs</id>
 | 
			
		||||
                        <phase>verify</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>jar</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-source-plugin</artifactId>
 | 
			
		||||
                <version>3.0.1</version>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>attach-sources</id>
 | 
			
		||||
                        <phase>verify</phase>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>jar-no-fork</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-enforcer-plugin</artifactId>
 | 
			
		||||
                <version>1.4.1</version>
 | 
			
		||||
                <executions>
 | 
			
		||||
                    <execution>
 | 
			
		||||
                        <id>enforce-versions</id>
 | 
			
		||||
                        <goals>
 | 
			
		||||
                            <goal>enforce</goal>
 | 
			
		||||
                        </goals>
 | 
			
		||||
                        <configuration>
 | 
			
		||||
                            <rules>
 | 
			
		||||
                                <requireMavenVersion>
 | 
			
		||||
                                    <version>3.2.5</version>
 | 
			
		||||
                                </requireMavenVersion>
 | 
			
		||||
                            </rules>
 | 
			
		||||
                        </configuration>
 | 
			
		||||
                    </execution>
 | 
			
		||||
                </executions>
 | 
			
		||||
            </plugin>
 | 
			
		||||
        </plugins>
 | 
			
		||||
        <pluginManagement>
 | 
			
		||||
            <plugins>
 | 
			
		||||
                <plugin>
 | 
			
		||||
                    <groupId>net.revelc.code</groupId>
 | 
			
		||||
                    <artifactId>formatter-maven-plugin</artifactId>
 | 
			
		||||
                    <version>0.5.2</version>
 | 
			
		||||
                </plugin>
 | 
			
		||||
            </plugins>
 | 
			
		||||
        </pluginManagement>
 | 
			
		||||
    </build>
 | 
			
		||||
    <profiles>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>release-profile</id>
 | 
			
		||||
            <properties>
 | 
			
		||||
                <skipTests>true</skipTests>
 | 
			
		||||
            </properties>
 | 
			
		||||
            <build>
 | 
			
		||||
                <plugins>
 | 
			
		||||
                    <plugin>
 | 
			
		||||
                        <groupId>net.alchim31.maven</groupId>
 | 
			
		||||
                        <artifactId>scala-maven-plugin</artifactId>
 | 
			
		||||
                        <executions>
 | 
			
		||||
                            <execution>
 | 
			
		||||
                                <goals>
 | 
			
		||||
                                    <goal>compile</goal>
 | 
			
		||||
                                    <goal>testCompile</goal>
 | 
			
		||||
                                </goals>
 | 
			
		||||
                            </execution>
 | 
			
		||||
                        </executions>
 | 
			
		||||
                        <configuration/>
 | 
			
		||||
                    </plugin>
 | 
			
		||||
                    <plugin>
 | 
			
		||||
                        <groupId>org.codehaus.mojo</groupId>
 | 
			
		||||
                        <artifactId>build-helper-maven-plugin</artifactId>
 | 
			
		||||
                        <executions>
 | 
			
		||||
                            <execution>
 | 
			
		||||
                                <id>add-source</id>
 | 
			
		||||
                                <phase>prepare-package</phase>
 | 
			
		||||
                                <goals>
 | 
			
		||||
                                    <goal>add-source</goal>
 | 
			
		||||
                                </goals>
 | 
			
		||||
                                <configuration>
 | 
			
		||||
                                    <sources>
 | 
			
		||||
                                        <source>src/main/scala</source>
 | 
			
		||||
                                    </sources>
 | 
			
		||||
                                </configuration>
 | 
			
		||||
                            </execution>
 | 
			
		||||
                        </executions>
 | 
			
		||||
                    </plugin>
 | 
			
		||||
                </plugins>
 | 
			
		||||
            </build>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>release-sign-artifacts</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>performRelease</name>
 | 
			
		||||
                    <value>true</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <build>
 | 
			
		||||
                <plugins>
 | 
			
		||||
                    <plugin>
 | 
			
		||||
                        <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                        <artifactId>maven-gpg-plugin</artifactId>
 | 
			
		||||
                        <executions>
 | 
			
		||||
                            <execution>
 | 
			
		||||
                                <id>sign-artifacts</id>
 | 
			
		||||
                                <phase>verify</phase>
 | 
			
		||||
                                <goals>
 | 
			
		||||
                                    <goal>sign</goal>
 | 
			
		||||
                                </goals>
 | 
			
		||||
                            </execution>
 | 
			
		||||
                        </executions>
 | 
			
		||||
                    </plugin>
 | 
			
		||||
                </plugins>
 | 
			
		||||
            </build>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <!-- Samples -->
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>android-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/android/volley</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>bash-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/bash</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>clojure-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>clojure</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/clojure</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>haskell-http-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>haskell-http-client</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/haskell-http-client</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>haskell-http-client-integration-test</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>haskell-http-client</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/haskell-http-client/tests-integration</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-jersey1</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/jersey1</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-jersey2</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/jersey2</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-jersey2-java6</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/jersey2-java6</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-okhttp-gson</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/okhttp-gson</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-okhttp-gson-parcelable</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/okhttp-gson/parcelableModel</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-retrofit</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/retrofit</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-retrofit2</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/retrofit2</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-retrofit2-rx</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/retrofit2rx</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-client-feign</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/java/feign</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>javascript-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>javascript</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/javascript</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>scala-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>scala</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/scala</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>objc-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>objc</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/objc/default/SwaggerClientTests</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>swift-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>swift</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/swift/default/SwaggerClientTests</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-msf4j-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/java-msf4/</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-cxf-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs-cxf</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-resteasy-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs-resteasy/default</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-resteasy-server-joda</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs-resteasy/joda</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-resteasy-eap-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs-resteasy/eap</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-resteasy-eap-server-joda</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs-resteasy/eap-joda</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs/jersey2</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jaxrs-server-jersey1</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/jaxrs/jersey1</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-fetch-client-tests-default</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-fetch/tests/default</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-fetch-client-builds-default</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-fetch/builds/default</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-fetch-client-builds-es6-target</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-fetch/builds/es6-target</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-fetch-client-builds-with-npm-version</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-angularjs-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-angularjs/npm</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>typescript-node-npm-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/typescript-node/npm</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>python-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/python</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>ruby-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/ruby</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>go-client</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/go</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>spring-mvc</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/spring-mvc</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>springboot-beanvalidation</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/springboot-beanvalidation</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>springboot</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/springboot</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>spring-cloud</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/spring-cloud</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>scalatra-server</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/scalatra</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-inflector</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/java-inflector</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>java-undertowr</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>java</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/server/petstore/undertow</module>
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>samples</id>
 | 
			
		||||
            <activation>
 | 
			
		||||
                <property>
 | 
			
		||||
                    <name>env</name>
 | 
			
		||||
                    <value>samples</value>
 | 
			
		||||
                </property>
 | 
			
		||||
            </activation>
 | 
			
		||||
            <modules>
 | 
			
		||||
                <module>samples/client/petstore/swift3/default/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/swift3/promisekit/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/swift3/rxswift/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/swift/default/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/swift/promisekit/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/swift/rxswift/SwaggerClientTests</module>
 | 
			
		||||
                <!-- comment out objc tests as it's timing out
 | 
			
		||||
                <module>samples/client/petstore/objc/default/SwaggerClientTests</module>
 | 
			
		||||
                <module>samples/client/petstore/objc/core-data/SwaggerClientTests</module>--> 
 | 
			
		||||
            </modules>
 | 
			
		||||
        </profile>
 | 
			
		||||
    </profiles>
 | 
			
		||||
    <modules>
 | 
			
		||||
        <module>modules/swagger-codegen</module>
 | 
			
		||||
        <module>modules/swagger-codegen-cli</module>
 | 
			
		||||
        <module>modules/swagger-codegen-maven-plugin</module>
 | 
			
		||||
        <module>modules/swagger-generator</module>
 | 
			
		||||
    </modules>
 | 
			
		||||
    <reporting>
 | 
			
		||||
        <outputDirectory>target/site</outputDirectory>
 | 
			
		||||
        <plugins>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>net.alchim31.maven</groupId>
 | 
			
		||||
                <artifactId>scala-maven-plugin</artifactId>
 | 
			
		||||
                <version>${scala-maven-plugin-version}</version>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-jxr-plugin</artifactId>
 | 
			
		||||
                <version>2.5</version>
 | 
			
		||||
                <configuration>
 | 
			
		||||
                    <aggregate>true</aggregate>
 | 
			
		||||
                </configuration>
 | 
			
		||||
            </plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
			
		||||
                <artifactId>maven-project-info-reports-plugin</artifactId>
 | 
			
		||||
                <version>2.9</version>
 | 
			
		||||
                <reportSets>
 | 
			
		||||
                    <reportSet>
 | 
			
		||||
                        <reports>
 | 
			
		||||
                            <report>project-team</report>
 | 
			
		||||
                        </reports>
 | 
			
		||||
                    </reportSet>
 | 
			
		||||
                </reportSets>
 | 
			
		||||
            </plugin>
 | 
			
		||||
        </plugins>
 | 
			
		||||
    </reporting>
 | 
			
		||||
    <dependencyManagement>
 | 
			
		||||
        <dependencies>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>junit</groupId>
 | 
			
		||||
                <artifactId>junit</artifactId>
 | 
			
		||||
                <version>${junit-version}</version>
 | 
			
		||||
                <scope>test</scope>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>org.testng</groupId>
 | 
			
		||||
                <artifactId>testng</artifactId>
 | 
			
		||||
                <version>${testng-version}</version>
 | 
			
		||||
                <scope>test</scope>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>org.jmockit</groupId>
 | 
			
		||||
                <artifactId>jmockit</artifactId>
 | 
			
		||||
                <version>${jmockit-version}</version>
 | 
			
		||||
                <scope>test</scope>
 | 
			
		||||
            </dependency>
 | 
			
		||||
        </dependencies>
 | 
			
		||||
    </dependencyManagement>
 | 
			
		||||
    <repositories>
 | 
			
		||||
        <repository>
 | 
			
		||||
            <id>sonatype-snapshots</id>
 | 
			
		||||
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
 | 
			
		||||
            <snapshots>
 | 
			
		||||
                <enabled>true</enabled>
 | 
			
		||||
            </snapshots>
 | 
			
		||||
        </repository>
 | 
			
		||||
    </repositories>
 | 
			
		||||
    <properties>
 | 
			
		||||
        <swagger-parser-version>1.0.34</swagger-parser-version>
 | 
			
		||||
        <scala-version>2.11.1</scala-version>
 | 
			
		||||
        <felix-version>3.3.0</felix-version>
 | 
			
		||||
        <swagger-core-version>1.5.18</swagger-core-version>
 | 
			
		||||
        <commons-io-version>2.4</commons-io-version>
 | 
			
		||||
        <commons-cli-version>1.2</commons-cli-version>
 | 
			
		||||
        <junit-version>4.8.1</junit-version>
 | 
			
		||||
        <jackson-version>2.8.9</jackson-version>
 | 
			
		||||
        <maven-plugin-version>1.0.0</maven-plugin-version>
 | 
			
		||||
        <commons-lang-version>3.4</commons-lang-version>
 | 
			
		||||
        <slf4j-version>1.7.12</slf4j-version>
 | 
			
		||||
        <scala-maven-plugin-version>3.2.1</scala-maven-plugin-version>
 | 
			
		||||
        <jmustache-version>1.12</jmustache-version>
 | 
			
		||||
        <testng-version>6.9.6</testng-version>
 | 
			
		||||
        <surefire-version>2.19.1</surefire-version>
 | 
			
		||||
        <jmockit-version>1.25</jmockit-version>
 | 
			
		||||
        <reflections-version>0.9.10</reflections-version>
 | 
			
		||||
    </properties>
 | 
			
		||||
</project>
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -2,6 +2,7 @@ Pod::Spec.new do |s|
 | 
			
		||||
  s.name = 'PetstoreClient'
 | 
			
		||||
  s.ios.deployment_target = '9.0'
 | 
			
		||||
  s.osx.deployment_target = '10.11'
 | 
			
		||||
  s.tvos.deployment_target = '9.0'
 | 
			
		||||
  s.version = '0.0.1'
 | 
			
		||||
  s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }
 | 
			
		||||
  s.authors = ''
 | 
			
		||||
 | 
			
		||||
@ -381,38 +381,6 @@ open class FakeAPI: APIBase {
 | 
			
		||||
        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - parameter completion: completion handler to receive the data and the error objects
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
 | 
			
		||||
        testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute { (response, error) -> Void in
 | 
			
		||||
            completion(error)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - POST /fake/inline-additionalProperties
 | 
			
		||||
     - 
 | 
			
		||||
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: RequestBuilder<Void> 
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalPropertiesWithRequestBuilder(param: Any) -> RequestBuilder<Void> {
 | 
			
		||||
        let path = "/fake/inline-additionalProperties"
 | 
			
		||||
        let URLString = PetstoreClientAPI.basePath + path
 | 
			
		||||
        let parameters = param.encodeToJSON()
 | 
			
		||||
 | 
			
		||||
        let url = NSURLComponents(string: URLString)
 | 
			
		||||
 | 
			
		||||
        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
 | 
			
		||||
 | 
			
		||||
        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test json serialization of form data
 | 
			
		||||
     - parameter param: (form) field1 
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ git_remote=`git remote`
 | 
			
		||||
if [ "$git_remote" = "" ]; then # git remote not defined
 | 
			
		||||
 | 
			
		||||
    if [ "$GIT_TOKEN" = "" ]; then
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
 | 
			
		||||
        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
    else
 | 
			
		||||
        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -2,6 +2,7 @@ Pod::Spec.new do |s|
 | 
			
		||||
  s.name = 'PetstoreClient'
 | 
			
		||||
  s.ios.deployment_target = '9.0'
 | 
			
		||||
  s.osx.deployment_target = '10.11'
 | 
			
		||||
  s.tvos.deployment_target = '9.0'
 | 
			
		||||
  s.version = '0.0.1'
 | 
			
		||||
  s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }
 | 
			
		||||
  s.authors = ''
 | 
			
		||||
 | 
			
		||||
@ -381,38 +381,6 @@ open class FakeAPI: APIBase {
 | 
			
		||||
        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - parameter completion: completion handler to receive the data and the error objects
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
 | 
			
		||||
        testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute { (response, error) -> Void in
 | 
			
		||||
            completion(error)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - POST /fake/inline-additionalProperties
 | 
			
		||||
     - 
 | 
			
		||||
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: RequestBuilder<Void> 
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalPropertiesWithRequestBuilder(param: Any) -> RequestBuilder<Void> {
 | 
			
		||||
        let path = "/fake/inline-additionalProperties"
 | 
			
		||||
        let URLString = PetstoreClientAPI.basePath + path
 | 
			
		||||
        let parameters = param.encodeToJSON()
 | 
			
		||||
 | 
			
		||||
        let url = NSURLComponents(string: URLString)
 | 
			
		||||
 | 
			
		||||
        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
 | 
			
		||||
 | 
			
		||||
        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test json serialization of form data
 | 
			
		||||
     - parameter param: (form) field1 
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ git_remote=`git remote`
 | 
			
		||||
if [ "$git_remote" = "" ]; then # git remote not defined
 | 
			
		||||
 | 
			
		||||
    if [ "$GIT_TOKEN" = "" ]; then
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
 | 
			
		||||
        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
    else
 | 
			
		||||
        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -2,6 +2,7 @@ Pod::Spec.new do |s|
 | 
			
		||||
  s.name = 'PetstoreClient'
 | 
			
		||||
  s.ios.deployment_target = '9.0'
 | 
			
		||||
  s.osx.deployment_target = '10.11'
 | 
			
		||||
  s.tvos.deployment_target = '9.0'
 | 
			
		||||
  s.version = '0.0.1'
 | 
			
		||||
  s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }
 | 
			
		||||
  s.authors = ''
 | 
			
		||||
 | 
			
		||||
@ -510,54 +510,6 @@ open class FakeAPI: APIBase {
 | 
			
		||||
        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - parameter completion: completion handler to receive the data and the error objects
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
 | 
			
		||||
        testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute { (response, error) -> Void in
 | 
			
		||||
            completion(error)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: Promise<Void>
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties( param: Any) -> Promise<Void> {
 | 
			
		||||
        let deferred = Promise<Void>.pending()
 | 
			
		||||
        testInlineAdditionalProperties(param: param) { error in
 | 
			
		||||
            if let error = error {
 | 
			
		||||
                deferred.reject(error)
 | 
			
		||||
            } else {
 | 
			
		||||
                deferred.fulfill()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        return deferred.promise
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - POST /fake/inline-additionalProperties
 | 
			
		||||
     - 
 | 
			
		||||
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: RequestBuilder<Void> 
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalPropertiesWithRequestBuilder(param: Any) -> RequestBuilder<Void> {
 | 
			
		||||
        let path = "/fake/inline-additionalProperties"
 | 
			
		||||
        let URLString = PetstoreClientAPI.basePath + path
 | 
			
		||||
        let parameters = param.encodeToJSON()
 | 
			
		||||
 | 
			
		||||
        let url = NSURLComponents(string: URLString)
 | 
			
		||||
 | 
			
		||||
        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
 | 
			
		||||
 | 
			
		||||
        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test json serialization of form data
 | 
			
		||||
     - parameter param: (form) field1 
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ git_remote=`git remote`
 | 
			
		||||
if [ "$git_remote" = "" ]; then # git remote not defined
 | 
			
		||||
 | 
			
		||||
    if [ "$GIT_TOKEN" = "" ]; then
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
 | 
			
		||||
        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
    else
 | 
			
		||||
        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -2,6 +2,7 @@ Pod::Spec.new do |s|
 | 
			
		||||
  s.name = 'PetstoreClient'
 | 
			
		||||
  s.ios.deployment_target = '9.0'
 | 
			
		||||
  s.osx.deployment_target = '10.11'
 | 
			
		||||
  s.tvos.deployment_target = '9.0'
 | 
			
		||||
  s.version = '0.0.1'
 | 
			
		||||
  s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }
 | 
			
		||||
  s.authors = ''
 | 
			
		||||
 | 
			
		||||
@ -524,56 +524,6 @@ open class FakeAPI: APIBase {
 | 
			
		||||
        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - parameter completion: completion handler to receive the data and the error objects
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
 | 
			
		||||
        testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute { (response, error) -> Void in
 | 
			
		||||
            completion(error)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: Observable<Void>
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any) -> Observable<Void> {
 | 
			
		||||
        return Observable.create { observer -> Disposable in
 | 
			
		||||
            testInlineAdditionalProperties(param: param) { error in
 | 
			
		||||
                if let error = error {
 | 
			
		||||
                    observer.on(.error(error as Error))
 | 
			
		||||
                } else {
 | 
			
		||||
                    observer.on(.next())
 | 
			
		||||
                }
 | 
			
		||||
                observer.on(.completed)
 | 
			
		||||
            }
 | 
			
		||||
            return Disposables.create()
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - POST /fake/inline-additionalProperties
 | 
			
		||||
     - 
 | 
			
		||||
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: RequestBuilder<Void> 
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalPropertiesWithRequestBuilder(param: Any) -> RequestBuilder<Void> {
 | 
			
		||||
        let path = "/fake/inline-additionalProperties"
 | 
			
		||||
        let URLString = PetstoreClientAPI.basePath + path
 | 
			
		||||
        let parameters = param.encodeToJSON()
 | 
			
		||||
 | 
			
		||||
        let url = NSURLComponents(string: URLString)
 | 
			
		||||
 | 
			
		||||
        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
 | 
			
		||||
 | 
			
		||||
        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test json serialization of form data
 | 
			
		||||
     - parameter param: (form) field1 
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ git_remote=`git remote`
 | 
			
		||||
if [ "$git_remote" = "" ]; then # git remote not defined
 | 
			
		||||
 | 
			
		||||
    if [ "$GIT_TOKEN" = "" ]; then
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
 | 
			
		||||
        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
    else
 | 
			
		||||
        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.4.0-SNAPSHOT
 | 
			
		||||
@ -2,6 +2,7 @@ Pod::Spec.new do |s|
 | 
			
		||||
  s.name = 'PetstoreClient'
 | 
			
		||||
  s.ios.deployment_target = '9.0'
 | 
			
		||||
  s.osx.deployment_target = '10.11'
 | 
			
		||||
  s.tvos.deployment_target = '9.0'
 | 
			
		||||
  s.version = '0.0.1'
 | 
			
		||||
  s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }
 | 
			
		||||
  s.authors = ''
 | 
			
		||||
 | 
			
		||||
@ -381,38 +381,6 @@ open class FakeAPI: APIBase {
 | 
			
		||||
        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - parameter completion: completion handler to receive the data and the error objects
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalProperties(param: Any, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
 | 
			
		||||
        testInlineAdditionalPropertiesWithRequestBuilder(param: param).execute { (response, error) -> Void in
 | 
			
		||||
            completion(error)
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test inline additionalProperties
 | 
			
		||||
     - POST /fake/inline-additionalProperties
 | 
			
		||||
     - 
 | 
			
		||||
 | 
			
		||||
     - parameter param: (body) request body 
 | 
			
		||||
     - returns: RequestBuilder<Void> 
 | 
			
		||||
     */
 | 
			
		||||
    open class func testInlineAdditionalPropertiesWithRequestBuilder(param: Any) -> RequestBuilder<Void> {
 | 
			
		||||
        let path = "/fake/inline-additionalProperties"
 | 
			
		||||
        let URLString = PetstoreClientAPI.basePath + path
 | 
			
		||||
        let parameters = param.encodeToJSON()
 | 
			
		||||
 | 
			
		||||
        let url = NSURLComponents(string: URLString)
 | 
			
		||||
 | 
			
		||||
        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
 | 
			
		||||
 | 
			
		||||
        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     test json serialization of form data
 | 
			
		||||
     - parameter param: (form) field1 
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ git_remote=`git remote`
 | 
			
		||||
if [ "$git_remote" = "" ]; then # git remote not defined
 | 
			
		||||
 | 
			
		||||
    if [ "$GIT_TOKEN" = "" ]; then
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
 | 
			
		||||
        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
 | 
			
		||||
        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
    else
 | 
			
		||||
        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user