OpenAPI Specification
The MaxConf API is built with FastAPI, which auto-generates an OpenAPI 3.0 specification from the source code. This serves as the machine-readable contract for all endpoints.
Accessing the spec
Section titled “Accessing the spec”| Method | URL | When to use |
|---|---|---|
| Interactive Swagger UI | http://localhost:7071/docs | Local development - try endpoints interactively |
| ReDoc | http://localhost:7071/redoc | Local development - read-only formatted view |
| Raw JSON (local) | http://localhost:7071/openapi.json | Local development - raw spec for tooling |
| Published snapshot | /openapi-spec.json | Reference - spec snapshot published with docs |
Running locally
Section titled “Running locally”# From the repository rootnx run pexip-sdk:serveThen open http://localhost:7071/docs in your browser.
Published snapshot
Section titled “Published snapshot”A static snapshot of the OpenAPI spec is published with this documentation site at /openapi-spec.json. This may lag behind the current source code - always prefer the local dev server for the latest spec.
Using the spec with tools
Section titled “Using the spec with tools”The OpenAPI JSON can be imported into:
- Postman - import as a collection for manual testing
- Azure API Management - import to update API policies and gateway config
- Code generators - generate client SDKs in any language (e.g.,
openapi-generator-cli)