UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

15 lines (14 loc) 631 B
import type { OpenApiMediaContentType } from "../types"; import { type BaseInterface } from "./base"; import type { OpenApiHeader } from "./OpenApiHeader"; import type { OpenApiReferenceObject } from "./OpenApiReferenceObject"; export interface OpenApiEncoding extends BaseInterface { addHeaders(mappings: Partial<{ [K in string]: OpenApiHeader | OpenApiReferenceObject; }>): this; addContentType(val: OpenApiMediaContentType): this; addExplode(explode: boolean): this; addAllowReserved(allowReserved: boolean): this; addStyle(style: string): this; } export declare const Encoding: OpenApiEncoding;