@ardatan/openapi-to-graphql
Version:
Generates a GraphQL schema for a given OpenAPI Specification (OAS)
13 lines • 641 B
JavaScript
;
// Copyright IBM Corp. 2018. All Rights Reserved.
// Node module: openapi-to-graphql
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Object.defineProperty(exports, "__esModule", { value: true });
var GraphQLOperationType;
(function (GraphQLOperationType) {
GraphQLOperationType[GraphQLOperationType["Query"] = 0] = "Query";
GraphQLOperationType[GraphQLOperationType["Mutation"] = 1] = "Mutation";
// TODO: Subscription
})(GraphQLOperationType = exports.GraphQLOperationType || (exports.GraphQLOperationType = {}));
//# sourceMappingURL=graphql.js.map