Generates a server library
POST
/gen/servers/{framework}
servers
GeneratorInput
options map for spec location and generation options.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/gen/servers/' \
--header 'Content-Type: application/json' \
--data-raw '{
"authorizationValue": {
"keyName": "string",
"type": "string",
"value": "string"
},
"options": {
"property1": "string",
"property2": "string"
},
"securityDefinition": {
"description": "string",
"type": "string"
},
"spec": {},
"swaggerUrl": "http://petstore.swagger.io/v2/swagger.json"
}'
Response Response Example
{
"code": "d40029be-eda6-4d62-b1ef-d05e2e91a72a",
"link": "http://generator.swagger.io:80/api/gen/download/d40029be-eda6-4d62-b1ef-d05e2e91a72a"
}
Request
Path Params
framework
string
required
Body Params application/json
Responses
Modified at 2022-09-11 22:30:38