... | ... | @@ -24,7 +24,7 @@ Here is the documentation to generate a server stub for a couple different frame |
|
|
- [Go Server](#go-server)
|
|
|
- [NancyFX](#nancyfx-module)
|
|
|
|
|
|
## [List of server frameworks supported by OpenAPI Generator](https://github.com/openapitools/openapi-generator/wiki/Server-stub-generator-HOWTO#list-of-server-frameworks-supported-by-swagger-codegen-1)
|
|
|
## [List of server frameworks supported by OpenAPI Generator](https://github.com/openapitools/openapi-generator/wiki/Server-stub-generator-HOWTO#list-of-servers)
|
|
|
|
|
|
### Erlang
|
|
|
|
... | ... | @@ -39,7 +39,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -51,7 +51,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -65,7 +65,7 @@ https://cloud.google.com/functions/docs/quickstart is a good starting point on h |
|
|
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -77,7 +77,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -89,7 +89,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -340,7 +340,7 @@ set JAVA_OPTS=-Dfile.encoding=UTF-8 |
|
|
### Go Server
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -351,7 +351,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
### NancyFX Module
|
|
|
```
|
|
|
git clone https://github.com/openapitools/openapi-generator
|
|
|
cd swagger-codegen
|
|
|
cd openapi-generator
|
|
|
mvn clean package
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
... | ... | @@ -359,6 +359,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat |
|
|
-o samples/server/petstore/nancyfx
|
|
|
```
|
|
|
|
|
|
<a name="list-of-servers"></a>
|
|
|
## List of server frameworks supported by OpenAPI Generator
|
|
|
|
|
|
- ada-server
|
... | ... | |