Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

SDK Generation

J.R. Garcia edited this page Aug 5, 2019 · 1 revision

This page describes the process of generating the SDK. The SDK is comprised of multiple gems and built by a script that makes calls to the openapi-generator. The .openapi folder contains everything needed to generate the SDK.

The .openapi folder is made up of four subfolders. The configurations folder contains all of the configurations used by the openapi-generator. The scripts folder contains a script that is used to generate all of the gems (with the exception of the sdk gem). The specs folder contains all of the OpenAPI/Swagger specs used to generate the gems. The vmware-openapi-generator is used to create these specification files. The templates folder contains the Mustache templates that are used by the openapi-generator to generate the Ruby files from the OpenAPI/Swagger specification files.

To generate the SDK, you simply need to run .openapi/scripts/generate --output <where to output> and it will output each component gem to the directory you specify.

Clone this wiki locally