← Back to RawStack

Open API

OpenAPI is a widely adopted specification for defining and documenting RESTful APIs in a structured, machine-readable format. By standardizing API definitions, OpenAPI enables seamless integration, automation, and interoperability between different services and tools.

Using a YAML or JSON-based contract, OpenAPI allows developers to specify endpoints, request/response schemas, authentication methods, and error handling in a clear and consistent manner. This specification can then be used to auto-generate API documentation, client SDKs, and server stubs, streamlining development and reducing manual effort.

Where is it used in the stack?

OpenAPI is used to define and document the RawStack API, ensuring clarity, consistency, and ease of integration for consumers. From this specification typescript, clients are generated which are used in the mobile app, admin dashboard and website.

Why are we using it?

OpenAPI was chosen for its ability to improve API maintainability, enable automation, and enhance developer experience. By providing a standardized contract, it facilitates smooth collaboration between teams, simplifies client integration, and allows for tools like code generation and validation, ensuring a reliable and well-documented API.

Find out more

  • The openapi spec docs are here
  • The client generator docs are here

Got questions?

Frequently Asked Questions

Some commonly asked questions about RawStack. If you have any other questions, get in touch and we'll get back to you.

OpenAPI is used to define and document the RawStack API. From this specification, TypeScript clients are generated for the mobile app, admin dashboard, and website.

OpenAPI improves API maintainability, enables automation, and enhances developer experience by providing a standardized contract that supports code generation and validation across every client.

Start building now!

Give you or your team a production-ready foundation for web and mobile apps, with performance, scalability, and maintainability built in.

npx create-rawstack-app@latest

copyright © rawstack.io

|