Interface MediaTypeShapeConfig

interface MediaTypeShapeConfig {
    encoding?: Record<string, EncodingObject>;
    example?: unknown;
    examples?: Record<string, ExampleShape | ExampleObject | ReferenceObject>;
    schema?: ReferenceObject | SchemaObject | SchemaShape;
}

Hierarchy

  • Omit<Omit<MediaTypeObject, "examples">, "schema">
    • MediaTypeShapeConfig

Properties

encoding?: Record<string, EncodingObject>
example?: unknown
examples?: Record<string, ExampleShape | ExampleObject | ReferenceObject>
schema?: ReferenceObject | SchemaObject | SchemaShape