MCPcopy
hub / github.com/nestjs/swagger / ApiBodyMetadata

Interface ApiBodyMetadata

lib/decorators/api-body.decorator.ts:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19type RequestBodyOptions = Omit<RequestBodyObject, 'content'>;
20
21interface ApiBodyMetadata extends RequestBodyOptions {
22 type?: Type<unknown> | Function | [Function] | string;
23 isArray?: boolean;
24 enum?: SwaggerEnumType;
25 encoding?: EncodingObject;
26}
27
28interface ApiBodySchemaHost extends RequestBodyOptions {
29 schema: SchemaObject | ReferenceObject;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…