UNPKG

@scalar/openapi-types

Version:
580 lines 28.2 kB
/** * Request Body Object * * Describes a single request body. * * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#request-body-object */ export declare const RequestBodyObjectSchema: import("zod").ZodObject<{ description: import("zod").ZodOptional<import("zod").ZodString>; content: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ schema: import("zod").ZodOptional<import("zod").ZodType<Record<string, any>, import("zod").ZodTypeDef, Record<string, any>>>; example: import("zod").ZodOptional<import("zod").ZodAny>; examples: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ summary: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodString>; value: import("zod").ZodOptional<import("zod").ZodAny>; externalValue: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }>>>; encoding: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ contentType: import("zod").ZodString; headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ description: import("zod").ZodOptional<import("zod").ZodString>; required: import("zod").ZodOptional<import("zod").ZodBoolean>; deprecated: import("zod").ZodOptional<import("zod").ZodBoolean>; style: import("zod").ZodOptional<import("zod").ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>; explode: import("zod").ZodOptional<import("zod").ZodBoolean>; schema: import("zod").ZodOptional<import("zod").ZodType<Record<string, any>, import("zod").ZodTypeDef, Record<string, any>>>; example: import("zod").ZodOptional<import("zod").ZodAny>; examples: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ summary: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodString>; value: import("zod").ZodOptional<import("zod").ZodAny>; externalValue: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }>>>; content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ schema: import("zod").ZodOptional<import("zod").ZodType<Record<string, any>, import("zod").ZodTypeDef, Record<string, any>>>; example: import("zod").ZodOptional<import("zod").ZodAny>; examples: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ summary: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodString>; value: import("zod").ZodOptional<import("zod").ZodAny>; externalValue: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }>>; required: import("zod").ZodOptional<import("zod").ZodBoolean>; encoding: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ contentType: import("zod").ZodString; headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ description: import("zod").ZodOptional<import("zod").ZodString>; required: import("zod").ZodOptional<import("zod").ZodBoolean>; deprecated: import("zod").ZodOptional<import("zod").ZodBoolean>; style: import("zod").ZodOptional<import("zod").ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>; explode: import("zod").ZodOptional<import("zod").ZodBoolean>; schema: import("zod").ZodOptional<import("zod").ZodType<Record<string, any>, import("zod").ZodTypeDef, Record<string, any>>>; example: import("zod").ZodOptional<import("zod").ZodAny>; examples: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ summary: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodString>; value: import("zod").ZodOptional<import("zod").ZodAny>; externalValue: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }>>>; content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ schema: import("zod").ZodOptional<import("zod").ZodType<Record<string, any>, import("zod").ZodTypeDef, Record<string, any>>>; example: import("zod").ZodOptional<import("zod").ZodAny>; examples: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{ summary: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodString>; value: import("zod").ZodOptional<import("zod").ZodAny>; externalValue: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { content: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }>; description?: string | undefined; required?: boolean | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }, { content: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }>; description?: string | undefined; required?: boolean | undefined; encoding?: Record<string, { contentType: string; headers?: Record<string, { description?: string | undefined; deprecated?: boolean | undefined; content?: Record<string, { example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; }> | undefined; required?: boolean | undefined; example?: any; examples?: Record<string, { description?: string | undefined; summary?: string | undefined; value?: any; externalValue?: string | undefined; }> | undefined; schema?: Record<string, any> | undefined; style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined; explode?: boolean | undefined; }> | undefined; }> | undefined; }>; //# sourceMappingURL=request-body-object.d.ts.map