Skip to content

4Players/fleet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ODIN Fleet API Client

Tip

This repository is intended to provide an example of how to generate different clients from the Open API definition. It may be necessary to modify it to suit your specific needs.

Usage

  1. Ensure openapi-generator-cli and JDK ≥ 11 is installed.
  2. Replace <generator> in the Makefile with your desired generator1.
  3. Run make

Note

The Makefile expects a Unix environment. For Windows the individual commands should more or less still apply.

Supported Languages

In general any language supported by the openapi-generator should work - if not out of the box with minor tweaks. The following generators have been tested:

Language Status Additional Options
typescript-angular
typescript-fetch
go --additional-properties structPrefix=true,enumClassPrefix=true

Footnotes

  1. See openapi-generator for available generators.

About

OpenAPI Client Template for ODIN Fleet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published