A stupid small project that can generate Java classes representing VocaDB Models described in VocaDB APIs
Example input models: models.txt
Example outputs: output/
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
- make sure you have Java 11 installed
- download the source code of this project
- use IDE/Editor that support Lombok plugins (Intellij, Eclipse, VScode), install the lombok plugin and open the project as maven project
- run Main with arugument "models.txt" (and of course you can use your own txt file to store models from another api entry)
- you should able to see the generated class in output/
- feel free to modify the source code to suit your needs
Thanks for VocaDB for providing such great APIs for fetching information about Vocaloid Songs