Error in generator ts_sdk: The "url" argument must be of type string. Received undefined TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined at validateString (internal/validators.js:120:11) at Url.parse (url.js:160:3) at Object.urlParse [as parse] (url.js:155:13) at buildHttpClientClass (/opt/apibuilder/dist/generators/ts_sdk/index.js:526:67) at buildFile (/opt/apibuilder/dist/generators/ts_sdk/index.js:1842:150) at /opt/apibuilder/dist/generators/ts_sdk/index.js:1866:21 at new Promise (<anonymous>) at Object.generate (/opt/apibuilder/dist/generators/ts_sdk/index.js:1858:12) at Layer.<anonymous> (/opt/apibuilder/dist/server/app.js:84:19) at /opt/apibuilder/node_modules/dd-trace/packages/datadog-plugin-router/src/index.js:110:19

provided_test_app3 2.0.1

Defines common structures used throughout the chamber.io infrastructure.

  • Contact: N/A
  • License: N/A

Resources

No resources

Headers

No headers

Imports

No imports

Enums

No enums

Interfaces

No interfaces

Models

generic_error

Example Json: Minimal | Full

Interfaces: None

A generic error providing a message and some basic meta data.

Field Type Required? Default Description
id uuid Yes -

A guid for identifying the error e.g. in log files.

timestamp date-time-iso8601 Yes -

Timestamp of the when the error occurred.

source string No -

An optional source on which the error occurred.

type string No -

An optional type for categorizing e.g. validation or invalid_state.

message string Yes -

The actual message of the error.

healthcheck

Example Json: Minimal | Full

Interfaces: None

Response model indicating the health of a service.

Field Type Required? Default Description
health string Yes -

The current health of the service. Normally this is healthy, otherwise an simple error message can be shown.

Unions

No unions

Annotations

No annotations