تخطي إلى المحتوى

tsoa-next / tsoa-next / TsoaRoute / ParameterSchema

Interface: ParameterSchema ​

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:72

الكيماوي في الوقت المناسب لمباراة طرق

التذييلات ​

الممتلكات ​

additionalProperties? ​

ts
optional additionalProperties?: boolean | PropertySchema;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:67

Inherited from ​

PropertySchema.additionalProperties


array? ​

ts
optional array?: PropertySchema;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:61

Inherited from ​

PropertySchema.array


dataType? ​

ts
optional dataType?: TypeStringLiteral;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:56

Inherited from ​

PropertySchema.dataType


default? ​

ts
optional default?: unknown;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:66

Inherited from ​

PropertySchema.default


enums? ​

ts
optional enums?: (string | number | boolean | null)[];

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:62

Inherited from ​

PropertySchema.enums


externalValidator? ​

ts
optional externalValidator?: ExternalValidatorDescriptor;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:60

Inherited from ​

PropertySchema.externalValidator


in ​

ts
in: string;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:75


name ​

ts
name: string;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:74


nestedProperties? ​

ts
optional nestedProperties?: object;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:68

مؤشر التوقيع ​

ts
[name: string]: PropertySchema

Inherited from ​

PropertySchema.nestedProperties


parameterIndex? ​

ts
optional parameterIndex?: number;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:73


ref? ​

ts
optional ref?: string;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:57

Inherited from ​

PropertySchema.ref


required? ​

ts
optional required?: boolean;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:58

Inherited from ​

PropertySchema.required


subSchemas? ​

ts
optional subSchemas?: PropertySchema[];

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:64

Inherited from ​

PropertySchema.subSchemas


type? ​

ts
optional type?: PropertySchema;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:63

Inherited from ​

PropertySchema.type


validationStrategy? ​

ts
optional validationStrategy?: ValidationStrategy;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:59

Inherited from ​

PropertySchema.validationStrategy


validators? ​

ts
optional validators?: Partial<Record<ValidatorKey, {
  errorMsg?: string;
  value?: unknown;
}>>;

محددة في: packages/runtime/src/routeGeneration/tsoa-route.ts:65

Inherited from ​

PropertySchema.validators

Contributors

No contributors

Changelog

No recent changes

توليد OpenAPI وتوليد المسارات والتحقق وقت التشغيل مع اعتماد TypeScript أولاً.