Skip to main content
Version: v3.x

OpenAPI Connector

Introduction

Using the Hasura OpenAPI Lambda Connector, you can instantly import OpenAPI-compliant APIs into your GraphQL API. Any GET requests are tagged as @readonly using the Node.js Lambda connector and are exposed as queries in your GraphQL API. All others are then exposed as procedures, allowing you to mutate data.

Features

  • Convert Open API/swagger documentation into Typescript functions compatible with NodeJS Lambda Connector
  • Supported request types
Request TypeQueryPathBodyHeaders
GETNA
POST
DELETE
PUT
PATCH

Getting started

To get started with the OpenAPI Lambda Connector, you can follow the guide here.

Prerequisites

If you've never used Hasura DDN, we recommend that you first go through the getting started. 😊

Additionally, if you haven't read through the TypeScript connector docs, check them out first.

Resources

Loading...