This repository contains an OpenAPI specification for LaunchDarkly's REST API.
This REST API is for custom integrations, data export, or automating your feature flag workflows. DO NOT use this client library to add feature flags to your web or mobile application. To integrate feature flags with your application, please see the SDK documentation
This project uses YAML file pointers to create the directory architecture described here:
http://azimi.me/2015/07/16/split-swagger-into-smaller-files.html
It may be useful to compile the spec to a single file. To do so follow these instructions:
-
Install dependencies:
npm install
-
Compile to a single yaml:
npm run compile
Alternatively, you can test a multi-file Swagger spec using VSCode, or by following these instructions for the online editor:
Server/client code for the API can be automatically generated. To generate the code:
-
Install
swagger-codegen
:brew install swagger-codegen
-
Run the
generate
command:npm run generate