@im-sampm/act-js
Version:
nodejs wrapper for nektos/act
49 lines (48 loc) • 1.51 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndpointSchema = void 0;
exports.EndpointSchema = {
type: "object",
additionalProperties: {
type: "object",
additionalProperties: {
type: "object",
properties: {
path: {
type: "string",
},
method: {
type: "string",
enum: ["delete", "get", "patch", "post", "put"],
},
parameters: {
type: "object",
properties: {
path: {
type: "array",
items: {
type: "string",
},
},
query: {
type: "array",
items: {
type: "string",
},
},
body: {
type: "array",
items: {
type: "string",
},
},
},
required: ["body", "path", "query"],
},
},
required: ["method", "parameters", "path"],
},
required: [],
},
required: [],
};