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