generate_kotlin_api_bridge
Generates full-stack API bridge contracts for Ktor backends and clients, producing Ktor routes, Kotlin/Dart DTOs, and OpenAPI specifications from service models and endpoints.
Instructions
Generates full-stack API bridge contracts between Ktor backend and clients, including Ktor routes, Kotlin/Dart DTOs, and OpenAPI specifications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | List of data models. | |
| endpoints | No | List of endpoints. | |
| serviceName | Yes | Name of the API service (e.g. 'Order', 'Payment', 'Auth'). |