Type alias CreateOpenAPIGraphQLBridgeConfig<T>
CreateOpenAPIGraphQLBridgeConfig<T>: {
customScalars?: ((scalarTypeName) => OpenAPIV3.SchemaObject);
graphqlDocument: DocumentNode | string;
graphqlSchema: GraphQLSchema | string;
transform?: ((operation) => OpenAPIV3.OperationObject<T>);
}
Type declaration
-
Optional
customScalars?: ((scalarTypeName) => OpenAPIV3.SchemaObject)
-
- (scalarTypeName): OpenAPIV3.SchemaObject
-
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>