Type alias CreateOpenAPIGraphQLBridgeConfig<T>

CreateOpenAPIGraphQLBridgeConfig<T>: {
    customScalars?: ((scalarTypeName) => OpenAPIV3.SchemaObject);
    graphqlDocument: DocumentNode | string;
    graphqlSchema: GraphQLSchema | string;
    transform?: ((operation) => OpenAPIV3.OperationObject<T>);
}

Type Parameters

Type declaration

  • Optional customScalars?: ((scalarTypeName) => OpenAPIV3.SchemaObject)
      • (scalarTypeName): OpenAPIV3.SchemaObject
      • Parameters

        • scalarTypeName: string

        Returns OpenAPIV3.SchemaObject

  • graphqlDocument: DocumentNode | string
  • graphqlSchema: GraphQLSchema | string
  • Optional transform?: ((operation) => OpenAPIV3.OperationObject<T>)
      • (operation): OpenAPIV3.OperationObject<T>
      • Parameters

        • operation: OpenAPIV3.OperationObject<T>

        Returns OpenAPIV3.OperationObject<T>

Generated using TypeDoc