Skip to content

tanukiapp/tanuki-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Tanuki OpenAPI Schemas

Tanuki is build with OpenAPI specification in mind, to ensure making it easy to develop and portable. It is made essentially by two services, with their respective APIs: AnimeService and ScheduleService.

Each one provides a subset of data which is served combined throught a gateway.

In this repository you will find the OpenAPI schemas for this APIs, allowing you to generate your own clients to consume this services easy.

Official packages for Node.js are provided at tanukiapp/tanuki-client

Generate Anime client

npx @openapitools/openapi-generator-cli generate \\
  -i ./openapi/v1/catalog-api.yaml \
  -g typescript-fetch \
  -o ./tanuki/catalog \
--additional-properties=typescriptThreePlus=true

Generate Schedule client

npx @openapitools/openapi-generator-cli generate \\
  -i ./openapi/v1/schedule-api.yaml \
  -g typescript-fetch \
  -o ./tanuki/schedule \
--additional-properties=typescriptThreePlus=true

About

🔥 Tanuki OpenAPI specifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published