@open-rpc/examples
Version:
Collection of example OpenRPC service definition files
21 lines (20 loc) • 1.32 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var petstore_openrpc_json_1 = __importDefault(require("../service-descriptions/petstore-openrpc.json"));
var petstore_expanded_openrpc_json_1 = __importDefault(require("../service-descriptions/petstore-expanded-openrpc.json"));
var params_by_name_petstore_openrpc_json_1 = __importDefault(require("../service-descriptions/params-by-name-petstore-openrpc.json"));
var link_example_openrpc_json_1 = __importDefault(require("../service-descriptions/link-example-openrpc.json"));
var api_with_examples_openrpc_json_1 = __importDefault(require("../service-descriptions/api-with-examples-openrpc.json"));
var simple_math_openrpc_json_1 = __importDefault(require("../service-descriptions/simple-math-openrpc.json"));
var examples = {
apiWithExamples: api_with_examples_openrpc_json_1.default,
links: link_example_openrpc_json_1.default,
petstore: petstore_openrpc_json_1.default,
petstoreByName: params_by_name_petstore_openrpc_json_1.default,
petstoreExpanded: petstore_expanded_openrpc_json_1.default,
simpleMath: simple_math_openrpc_json_1.default,
};
exports.default = examples;