UNPKG

@nodescript/core

Version:

Visual programming language for Browser and Node

15 lines 485 B
import { Schema } from 'airtight'; import { HttpDictSchema } from './HttpDict.js'; import { RequestMethodSchema } from './RequestMethod.js'; export const RequestSpecSchema = new Schema({ id: 'RequestSpec', type: 'object', properties: { method: RequestMethodSchema.schema, path: { type: 'string' }, query: HttpDictSchema.schema, headers: HttpDictSchema.schema, body: { type: 'any' }, }, }); //# sourceMappingURL=RequestSpec.js.map