Skip to content

rebeat-jp/UnityOpenApiCodeGen

Repository files navigation

Unity OpenAPI CodeGen

What's Unity OpenAPI CodeGen

You can Access Rest API to use OpenAPI Generator in Unity. This Plugin is able to operate the OpenAPI CodeGen, and setting on GUI.

Required Environment

  • Unity (2021.3) or later
  • Docker

Getting started

  1. Add this package to Unity Package Manager from git url, and install this package.

  2. Open setup window at Window/OpenAPI Code Generator/Setup in the Unity's menu, and input absolute Docker Path. After that, press the Setup button. スクリーンショット 2025-05-06 15 55 50

  3. Open generator window at Window/OpenAPI Code Generator/Generator in the Unity's menu. Input API Document file absolute URL and API Client code output absolute folder, and press the Generate button. スクリーンショット 2025-05-06 15 55 21

Custamize

You can set default API Document URL, default Client File Output Path, Docker Path, and Generating C# Client Option. Look Settings window at Window/OpenAPI Code Generator/Settings. スクリーンショット 2025-05-06 15 55 35

Ecosystem

License

This package is under a MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages