graphql-config-extension-openapi

JSON →
library 1.0.7 ·javascript
verified Jun 7, 2026

A plugin for GraphQL Config that patches endpoints into a GraphQL Config instance based on an OpenAPI/Swagger definition. Version 1.0.7 is the latest stable. It enables GraphQL CLI tools to retrieve schemas from OpenAPI endpoints by injecting the necessary URL and headers into the config. This extension is primarily used with graphql-config and graphql-cli. It supports ESM imports and ships TypeScript definitions. Compared to alternatives, it integrates directly with the GraphQL Config ecosystem.