UNPKG

openapi-to-graphql-harshith

Version:

Generates a GraphQL schema for a given OpenAPI Specification (OAS)

11 lines (10 loc) 278 B
/** * Type definitions for the OpenAPI specification 2.0 (Swagger). * * NOTE: We do not really care about OpenAPI specification 2.0 / Swagger, as we * translate it to Oas3 immediately anyways. */ export declare type Oas2 = { swagger: string; [key: string]: any; };