Jump to content
esegece

ANN: OpenAPI Delphi Parser

Recommended Posts

An OpenAPI Parser is a tool used for parsing and validating OpenAPI specifications. OpenAPI is a specification for building APIs that defines a standard language-agnostic interface for RESTful web services. Now you can use the sgcOpenAPI Parser to import any OpenAPI Specification and generate the required Delphi / Pascal interface methods to interactuate with the API. The sgcOpenAPI Parser supports the following specifications:

 

- OpenAPI 3.*
- Swagger 2.* (automatically converted from 2.0 to 3.0)
- Swagger 1.* (automatically converted from 1.0 to 3.0)

 

sgcOpenAPI_Parser.thumb.png.9faab2759329f95e59a2ee2a8c431bce.png

 

The sgcOpenAPI Parser has been used to generate the following pre-built SDKs

 

- Amazon AWS SDK (+280 Services)

- Google Cloud SDK (+250 Services)

- Azure SDK (+650 Services)

- Microsoft SDK (+15 Services)

 

More Info:

  https://www.esegece.com/openapi

  https://www.esegece.com/community/blog

  https://youtu.be/yCpRTm_KZ7I

 

Trial Version:

  https://www.esegece.com/openapi/parser

 

Kind Regards,

Sergio

 

  • Like 4
  • Thanks 1

Share this post


Link to post

Hi

Interesting library.

Is the generated code multiplateform or only for Windows ?

Do you call web service in a thread or in the main process ?

Share this post


Link to post

Hi,

 

The generated code file is multiplatform, but currently the trial only provides the required files for Windows, but the library takes the code from the sgcWebSockets package which is multiplatform. I've just tried to compile an openAPI generated specification and works well on OSX. I'll add support for all Delphi personalities on next the sgcOpenAPI Parser version, thanks for the suggestion.

The Web service is called in the same process where is called the request, so if the call is called from the main thread, the request will be called in the main thread.

 

Kind Regards,

Sergio

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×