UNPKG

@nodescript/core

Version:

Visual programming language for Browser and Node

18 lines 520 B
import { Schema } from 'airtight'; import { HttpDictSchema } from './HttpDict.js'; export const ResponseSpecSchema = new Schema({ id: 'ResponseSpec', type: 'object', properties: { status: { type: 'number' }, headers: HttpDictSchema.schema, body: { type: 'any' }, attributes: { type: 'object', properties: {}, additionalProperties: { type: 'string' }, optional: true, } }, }); //# sourceMappingURL=ResponseSpec.js.map