Auto-generated OpenAPI spec
Auto-generated OpenAPI spec
Auto-generated OpenAPI spec
Runtype automatically generates OpenAPI 3.0 specifications for your API surfaces, providing machine-readable documentation for API clients and code generation tools.
Your API Surface’s OpenAPI spec is available at:
A YAML version is also available at the same path with a .yaml extension. Find the link in the Endpoints tab of your API Surface.
The generated spec includes:
Import the spec into API development tools:
Postman creates a collection with all endpoints pre-configured.
Generate client libraries from the spec using OpenAPI Generator:
Supported languages include TypeScript, Python, Go, Java, Ruby, PHP, and many more.
Use the spec to validate requests before sending them:
The OpenAPI spec updates automatically when you:
Always fetch the latest spec to ensure your client code stays synchronized.
The OpenAPI spec is publicly accessible without authentication. Only actual API calls require authentication.
Add custom metadata to your spec:
These details appear in the generated spec’s metadata section.