OpenAPI Server Component
A native Delphi component that publishes your endpoints as a valid OpenAPI 3.x document and serves them from a single component — integrated with the sgcWebSockets HTTP server.
A native Delphi component that publishes your endpoints as a valid OpenAPI 3.x document and serves them from a single component — integrated with the sgcWebSockets HTTP server.
Drop the server component onto your form or create it in code to expose an OpenAPI document and route requests from a single place.
Expose a live openapi.json or openapi.yaml document for the endpoints your server publishes. Ready to feed into client generators, SwaggerUI and Redoc.
Bind handlers directly to the operations described in an OpenAPI document. Routing, parameter binding, and content negotiation are derived from the spec.
Plugs straight into the sgcWebSockets HTTP server, sharing the same TLS, HTTP/2, authentication and logging pipeline used elsewhere in your application.
Path templates, path parameters, query parameters, headers and cookies are wired up automatically from the OpenAPI paths section.
Incoming requests and outgoing responses are validated against the schemas declared in the document, with detailed error reports for mismatched payloads.
Built-in support for API key, OAuth2, JWT and HTTP Basic authentication — reusing the same security scheme definitions the parser produces from a spec.
Automatic JSON and YAML serialisation, multipart and form-encoded bodies, and per-operation produces / consumes handling.
Optional embedded SwaggerUI and Redoc UIs served from the same component, pointing at the same live OpenAPI document.
Included in every sgcOpenAPI licence (Single, Team, Site) alongside the parser, code generator and 1,195+ pre-built cloud SDKs — no separate purchase.