Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.7 KB

autorest.md

File metadata and controls

50 lines (40 loc) · 1.7 KB

Rundeck TypeScript(Javascript!) SDK

see https://aka.ms/autorest

Getting Started

To build the SDKs for Rundeck, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest autorest.md

Or:

npm run generate

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

The following are the settings for this using this API with AutoRest.

Defines the Open API spec file(s) to use for input:

input-file:
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/execution.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/job.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/metric.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/project.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/storage.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/system.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/1ca031c17a0ca54a1bf2f69b3ad3ab13bfdf6f6f/rundeck/user.yaml

Sets the generated TypeScript code output directory:

typescript:
  output-folder: src
  enum-types: true

Add credential provider parameter to client constructor:

add-credentials: true

TypeScript settings:

use:
- '@microsoft.azure/[email protected]'