Skip to main content

VersionServiceParameters

@webda/runtime • Readme | API


Class: VersionServiceParameters

Version parameters

Extends​

  • ServiceParameters

Constructors​

new VersionServiceParameters(params)​

new VersionServiceParameters(params): VersionServiceParameters

Copy all parameters into the object by default

Parameters​

• params: any

from webda.config.json

Returns​

VersionServiceParameters

Inherited from​

ServiceParameters.constructor

Source​

core/lib/services/service.d.ts:109

Properties​

openapi?​

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore​

Inherited from​

ServiceParameters.openapi

Source​

core/lib/services/service.d.ts:103


type​

type: string

Type of the service

Inherited from​

ServiceParameters.type

Source​

core/lib/services/service.d.ts:94


url?​

url?: string

Default​

/version

Overrides​

ServiceParameters.url

Source​

runtime/src/services/version.ts:14


version?​

version?: string

To force version otherwise would read from package.json

Source​

runtime/src/services/version.ts:10