ODIN Fleet by 4Players is a full service solution to deploy and manage game servers. Find out more about ODIN Fleet on the product page or look at the technical information in the developer documentation.
Tip
This repository is intended to provide an example of how to generate different clients from the Open API definition for the ODIN Fleet API. It may be necessary to modify it to suit your specific needs.
- Ensure
openapi-generator-cliandJDK≥ 11 is installed. - Replace
<generator>in theMakefilewith your desired generator1. - Run
make
Note
The Makefile expects a Unix environment. For Windows the individual commands should more or less still apply.
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
-
See openapi-generator for available generators. ↩