Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.7 KB

autorest.md

File metadata and controls

49 lines (40 loc) · 1.7 KB

Rundeck Go 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

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/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/execution.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/job.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/metric.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/project.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/storage.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/system.yaml
- https://github.com/rundeck/rundeck-api-specs/blob/c1d3cc9e9f82e15234b96dd67caf48a9664d4b85/rundeck/user.yaml

Sets the generated TypeScript code output directory:

go:
  output-folder: rundeck
  namespace: rundeck
  user-agent: Rundeck-SDK-For-Go/version 
  enum-types: true

Add credential provider parameter to client constructor:

add-credentials: true

TypeScript settings:

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