... | @@ -69,8 +69,8 @@ cd openapi-generator |
... | @@ -69,8 +69,8 @@ cd openapi-generator |
|
mvn clean package
|
|
mvn clean package
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-l lumen \
|
|
-l php-lumen \
|
|
-o samples/server/petstore/lumen
|
|
-o samples/server/petstore/php-lumen
|
|
```
|
|
```
|
|
|
|
|
|
### PHP Slim
|
|
### PHP Slim
|
... | @@ -81,8 +81,8 @@ cd openapi-generator |
... | @@ -81,8 +81,8 @@ cd openapi-generator |
|
mvn clean package
|
|
mvn clean package
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-l slim \
|
|
-l php-slim \
|
|
-o samples/server/petstore/slim
|
|
-o samples/server/petstore/php-slim
|
|
```
|
|
```
|
|
|
|
|
|
### PHP Silex
|
|
### PHP Silex
|
... | @@ -94,7 +94,7 @@ mvn clean package |
... | @@ -94,7 +94,7 @@ mvn clean package |
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
-l php-silex \
|
|
-l php-silex \
|
|
-o samples/server/petstore/silex
|
|
-o samples/server/petstore/php-silex
|
|
```
|
|
```
|
|
|
|
|
|
### Python Flask (Connexion)
|
|
### Python Flask (Connexion)
|
... | | ... | |