Connecting API's and front-end applications through OpenAPI auto generation

Stefanos Peros

Stefanos Peros

Software engineer

June 24, 2024

Communication between an API and client-side applications has posed several challenges. The back-end developers might break backwards compatibility or forget to correctly specify required and optional fields.

Automatic endpoint documentation

For model-view-controller (MVC) applications in which the data structures passed from and to a BE application are very explicit, documentation can already be auto-generated.

OpenAPI specification

It is a comprehensive specification that describes a REST api using JSON or XML format. It has been widely used for more than a decade.

OpenAPI SDK generation

After exploring different tools, we opted for OpenAPI Generator to generate the client side sdk from our OpenApi specification.

Closing statement

Efficient knowledge-sharing between FE and BE is crucial to develop high-quality software. Therefore, we always try to document our API and leverage tooling to keep the API documentation up-to-date.

Let's build. Together!

We'll be happy to hear more about your latest product development initiatives. Let's discover how we can help!