Interface OperationSchemas

interface OperationSchemas {
    body?: SchemaObject;
    cookie?: ParameterSchema;
    header?: ParameterSchema;
    path?: ParameterSchema;
    query?: ParameterSchema;
    response?: SchemaObject;
}

Properties

Schema for the request body.

Schema for the cookie parameters in JSON object. Key as the name of the parameter and value is the schema.

Schema for the header parameters in JSON object. Key as the name of the parameter and value is the schema.

Schema for the path parameters in JSON object. Key as the name of the parameter and value is the schema.

Schema for the query parameters in JSON object. Key as the name of the parameter and value is the schema.

response?: SchemaObject

Schema for the response.