Skip to main content

inputType

@webda/sdk


Function: inputType()

inputType(manifest, op, names): string

Defined in: sdk/src/generate/operations.ts:39

The input type of an operation: the model's input schema for create/update/patch, the request schema of an instance action with parameters, the action body joined to the primary key for other actions

Parameters​

manifest​

SdkManifest

the manifest

op​

SdkManifestOperation

the operation

names​

GeneratorNames

type names

Returns​

string

the TypeScript type