Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

A stupid small project that can generate Java classes representing VocaDB Models described in https://vocadb.net/swagger/ui/index#/

License

Notifications You must be signed in to change notification settings

CXwudi/vocadb-java-model-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VocaDb-Java-Model-Generator

A stupid small project that can generate Java classes representing VocaDB Models described in VocaDB APIs

Example input models: models.txt
Example outputs: output/

About this project

VocaDB has switched their API page to swagger here. If you need new VocaDB Java models, use openapi-generator. They also has an openapi json file on their swagger site.
Models from this repo are old but may still works. Use at your own risk

How to use

  1. make sure you have Java 11 installed
  2. download the source code of this project
  3. use IDE/Editor that support Lombok plugins (Intellij, Eclipse, VScode), install the lombok plugin and open the project as maven project
  4. run Main with arugument "models.txt" (and of course you can use your own txt file to store models from another api entry)
  5. you should able to see the generated class in output/
  6. feel free to modify the source code to suit your needs

Appreciation

Thanks for VocaDB for providing such great APIs for fetching information about Vocaloid Songs

About

A stupid small project that can generate Java classes representing VocaDB Models described in https://vocadb.net/swagger/ui/index#/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages