---
title: "Generates a server library"
method: POST
path: "/api/gen/servers/{framework}"
tags: ["servers"]
---

# Generates a server library

`POST /api/gen/servers/{framework}`

Accepts a `GeneratorInput` options map for spec location and generation options.

## Path parameters

- `framework` string, required

## Request body

- GeneratorInput
  - `authorizationValue` AuthorizationValue
    - `keyName` string
    - `type` string
    - `urlMatcher` PredicateOfURL
    - `value` string
  - `openAPIUrl` string
  - `openapiNormalizer` string[]
  - `options` object
  - `spec` object

## Response `200`

successful operation

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/openapi-generator/apis/openapi-generator-online.md) · [All operations](https://skmtc.dev/openapi-generator/apis/openapi-generator-online/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openapi-generator/openapi-generator-online/revisions/9e39276703d8/schema)
