sgcOpenAPI Features
A complete OpenAPI toolchain for Delphi and C++ Builder — parse specifications, generate type-safe Pascal code, host an OpenAPI server, and access 1,195+ pre-built cloud SDKs.
A complete OpenAPI toolchain for Delphi and C++ Builder — parse specifications, generate type-safe Pascal code, host an OpenAPI server, and access 1,195+ pre-built cloud SDKs.
Full-featured specification parser with support for OpenAPI 3.x and backward compatibility with Swagger 2.0.
Import specifications in JSON or YAML. A Swagger 2.0 file is detected automatically and converted to OpenAPI 3.0.
Handles all OpenAPI 3.x constructs: paths, operations, parameters, request bodies, responses, components, security schemes, and external references.
Validates specifications against the OpenAPI standard and reports errors with line-level detail for quick debugging.
Generate production-ready Object Pascal code from any OpenAPI specification.
Generates strongly-typed Pascal classes, records, and enumerations with full IntelliSense support in the Delphi IDE.
Produces PDF and CHM documentation alongside the generated code, making it easy to reference API endpoints and models.
Generated code has no external dependencies beyond the sgcOpenAPI runtime. Drop it into any Delphi project and start calling APIs immediately.
Publish your endpoints as a valid OpenAPI document and serve them from a single Delphi component, integrated with the sgcWebSockets HTTP server.
Expose a live openapi.json / openapi.yaml for the endpoints your server publishes, ready to feed into client generators and SwaggerUI / Redoc.
Bind handlers directly to the operations described in an OpenAPI document — routing, parameter binding, and content negotiation are derived from the spec.
Request and response validation against the schema, plus built-in API key, OAuth2, JWT and Basic auth wired through the same security scheme definitions used by the parser.
Ready-to-use Pascal SDKs for major cloud platforms, regularly updated to match the latest API specifications.
280+ REST service SDKs covering S3, EC2, Lambda, DynamoDB, SQS, SNS, and more.
250+ service SDKs for Compute, Storage, BigQuery, Pub/Sub, Cloud Functions, and more.
650+ Azure services plus 15+ Microsoft Graph API SDKs for Office 365, Teams, and Active Directory.
Full support across every major Delphi version. The generated code is plain Object Pascal, and there is no design-time package to install.
The generator runs alongside any C++ Builder install, and the generated server stub compiles. The generated client does not: SGC_HTTP_OPENAPI sits inside an {$IFNDEF BCB} on line 702 of sgcVer.inc.