Skip to content

Interface: ServerOptions ​

Defined in: cli/redcap-openapi/src/server/index.ts:11

Properties ​

onStart? ​

optional onStart?: (urls) => void

Defined in: cli/redcap-openapi/src/server/index.ts:17

Callback when server starts

Parameters ​

urls ​

ServerUrls

Returns ​

void


port? ​

optional port?: number

Defined in: cli/redcap-openapi/src/server/index.ts:15

Port to listen on


specPath ​

specPath: string

Defined in: cli/redcap-openapi/src/server/index.ts:13

Path to the OpenAPI spec file