sgcOpenAPI
One bundled product for Delphi and C++ Builder: OpenAPI 3.x parser, native Pascal SDK generator, OpenAPI server component, and 1,195+ pre-built cloud SDKs — all on a single Single / Team / Site licence.
One bundled product for Delphi and C++ Builder: OpenAPI 3.x parser, native Pascal SDK generator, OpenAPI server component, and 1,195+ pre-built cloud SDKs — all on a single Single / Team / Site licence.
Turn any OpenAPI specification into production-ready Pascal code with full type safety and IntelliSense support.
Import any OpenAPI or Swagger specification and let sgcOpenAPI generate clean, idiomatic Object Pascal interfaces ready for your project.
Get started instantly with ready-to-use Pascal SDKs for the largest cloud providers. All SDKs are regularly updated to match the latest API specifications.
The bundled OpenAPI server component lets a Delphi or C++ Builder backend publish its endpoints as a valid OpenAPI 3.x document and serve them from a single component — same model used by the parser, integrated with the sgcWebSockets HTTP server.
openapi.json / openapi.yaml from your endpoints
Three simple steps to go from an API specification to fully integrated Pascal code.
Load your OpenAPI 3.x specification file in JSON or YAML format. Swagger 1.x and 2.x specifications are automatically detected and converted to the OpenAPI 3.x schema.
The parser analyzes endpoints, parameters, request/response models, and authentication schemes, then generates clean, idiomatic Pascal code with proper type mappings.
Drop the generated units into your Delphi project. Full type safety, IntelliSense support, and zero external dependencies. Start calling APIs immediately.
Works with every major version of the Delphi and Pascal toolchain.
Full support from Delphi 7 through RAD Studio 13. VCL and FireMonkey frameworks with design-time component registration.
Native C++ Builder support with wrapper headers. Compatible with C++ Builder 2007 through C++ Builder 13.
See how a generated Pascal SDK looks in practice — clean, type-safe, and ready to use.
uses sgcOpenAPI_PetStore; // Generated from petstore.yaml procedure TForm1.btnGetPetClick(Sender: TObject); var Client: TsgcOpenAPI_PetStoreClient; Pet: TsgcOpenAPI_Pet; begin Client := TsgcOpenAPI_PetStoreClient.Create(nil); try Client.BaseURL := 'https://petstore.swagger.io/v2'; Client.ApiKey := 'your-api-key'; // Type-safe API call with IntelliSense Pet := Client.GetPetById(42); try Memo1.Lines.Add('Name: ' + Pet.Name); Memo1.Lines.Add('Status: ' + Pet.Status); Memo1.Lines.Add('Category: ' + Pet.Category.Name); finally Pet.Free; end; finally Client.Free; end; end; procedure TForm1.btnListPetsClick(Sender: TObject); var Client: TsgcOpenAPI_PetStoreClient; Pets: TsgcOpenAPI_PetList; i: Integer; begin Client := TsgcOpenAPI_PetStoreClient.Create(nil); try Client.BaseURL := 'https://petstore.swagger.io/v2'; // Strongly-typed list of Pet objects Pets := Client.FindPetsByStatus('available'); try for i := 0 to Pets.Count - 1 do ListBox1.Items.Add(Pets[i].Name); finally Pets.Free; end; finally Client.Free; end; end;
Parser, code generator, server component and all 1,195+ pre-built SDKs are included in every tier. Choose by team size: Single (1 developer), Team (2 developers), or Site (unlimited developers).
Pair sgcOpenAPI with our other Delphi, C++Builder and .NET component libraries.
Enterprise WebSocket, HTTP/2/3, MQTT, AMQP, WebRTC, and AI/LLM components for Delphi, C++Builder, and .NET. 30+ API integrations included.
Combine generated REST clients with WebSocket and MQTT streams for end-to-end real-time integrations.
Learn more →Digital signature components for PDF, XAdES, CAdES, and PAdES. Sign and verify documents with smart cards, HSMs, or software keys.
Sign REST API requests and responses generated through sgcOpenAPI for tamper-evident integrations.
Learn more →Native Windows Hello, fingerprint, and Windows Biometric Framework components for Delphi and C++Builder.
Lock down API access with Windows Hello before invoking your generated SDKs.
Learn more →Updated Indy TCP/IP components with modern TLS, IPv6, and HTTP/2 support for Delphi 7 through 13.
Underlying TCP/IP layer with modern TLS that pairs cleanly with sgcOpenAPI clients.
Learn more →