Swagger Generator
  1. servers
Swagger Generator
  • clients
    • Gets languages supported by the client generator
      GET
    • Returns options for a client library
      GET
    • Generates a client library
      POST
    • Downloads a pre-generated file
      GET
  • servers
    • Gets languages supported by the server generator
      GET
    • Returns options for a server framework
      GET
    • Generates a server library
      POST
  1. servers

Returns options for a server framework

GET
/gen/servers/{framework}
servers
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/gen/servers/'
Response Response Example
{
  "property1": {
    "default": "string",
    "description": "string",
    "enum": {
      "property1": "string",
      "property2": "string"
    },
    "optionName": "string",
    "type": "string"
  },
  "property2": {
    "default": "string",
    "description": "string",
    "enum": {
      "property1": "string",
      "property2": "string"
    },
    "optionName": "string",
    "type": "string"
  }
}

Request

Path Params
framework
string 
required
The target language for the server framework

Responses

🟢200successful operation
application/json
Body
Additional properties
object (CliOption) 
optional
default
string 
optional
description
string 
optional
enum
object 
optional
optionName
string 
optional
type
string 
optional
Data type is based on the types supported by the JSON-Schema
Previous
Gets languages supported by the server generator
Next
Generates a server library
Built with