diff --git a/.gitignore b/.gitignore index 240fed40de6..567a73d70fe 100644 --- a/.gitignore +++ b/.gitignore @@ -62,6 +62,12 @@ samples/client/petstore/python/.projectile samples/client/petstore/python/.venv/ samples/client/petstore/python/dev-requirements.txt.log +samples/client/petstore/objc/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata +samples/client/petstore/swift/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata +samples/client/petstore/swift/SwaggerClientTests/SwaggerClient.xcworkspace/xcuserdata +samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/xcuserdata +samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/xcshareddata/xcschemes + .settings *.mustache~ @@ -72,3 +78,4 @@ samples/client/petstore/python/dev-requirements.txt.log samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/ samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/ +**/.gradle/ diff --git a/README.md b/README.md index 3e7fec51773..5b785e0d13c 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,21 @@ Check out [Swagger-Spec](https://github.com/OAI/OpenAPI-Specification) for addit - [Generating static html api documentation](#generating-static-html-api-documentation) - [To build a server stub](#to-build-a-server-stub) - [Node.js](#nodejs) + - [PHP Slim](#php-slim) - [PHP Silex](#php-silex) - [Python Flask (Connexion)](#python-flask-connexion) - [Ruby Sinatra](#ruby-sinatra) - [Scala Scalatra](#scala-scalatra) - - [Java JAX-RS](#java-jax-rs) + - [Java JAX-RS (Java JAX-RS (Jersey v1.18)](#java-jax-rs-jersey-v118) + - [Java JAX-RS (Apache CXF 3)](#java-jax-rs-apache-cxf-3) - [Java Spring MVC](#java-spring-mvc) + - [Haskell Servant](#haskell-servant) + - [ASP.NET 5 Web API](#aspnet-5-web-api) - [To build the codegen library](#to-build-the-codegen-library) - [Workflow Integration](#workflow-integration) - [Online Generators](#online-generators) - [Guidelines for Contribution](https://github.com/swagger-api/swagger-codegen/wiki/Guidelines-for-Contribution) + - [Companies/Projects using Swagger Codegen](#companiesprojects-using-swagger-codegen) - [License](#license) @@ -67,7 +72,7 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes If you're looking for the latest stable version, you can grab it directly from maven central (you'll need java 7 runtime at a minimum): ``` -wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.1.4/swagger-codegen-cli-2.1.4.jar swagger-codegen-cli.jar +wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.1.5/swagger-codegen-cli-2.1.5.jar -o swagger-codegen-cli.jar java -jar swagger-codegen-cli.jar help ``` @@ -118,7 +123,7 @@ cd swagger-codegen vagrant up vagrant ssh cd /vagrant -sudo ./run-in-docker.sh mvn package +./run-in-docker.sh mvn package ``` #### Public Docker image @@ -156,18 +161,27 @@ with a number of options. You can get the options with the `help generate` comm ``` NAME - swagger generate - Generate code with chosen lang + swagger-codegen-cli generate - Generate code with chosen lang SYNOPSIS - swagger generate [(-a | --auth )] + swagger-codegen-cli generate + [(-a | --auth )] + [--additional-properties ] + [--api-package ] [--artifact-id ] + [--artifact-version ] [(-c | --config )] - [-D ] + [-D ] [--group-id ] (-i | --input-spec ) + [--import-mappings ] + [--instantiation-types ] + [--invoker-package ] (-l | --lang ) + [--language-specific-primitives ] + [--library ] [--model-package ] [(-o | --output )] - [(-t