The WoT to OpenAPI Generator is a Kotlin-based tool that converts WoT (Web of Things) Thing Models (JSON-LD format) into Eclipse Ditto OpenAPI 3.1.0 specifications.
It is available as command line interface (CLI) to be executed with java -jar, but can also be used as a
library in your own applications.
The WoT Kotlin Generator Maven plugin is a Maven plugin that generates Kotlin code (e.g. data classes) based on WoT (Web of Things) Thing Models (JSON-LD format) it downloads via HTTP.
The generated code can be used as type-safe representation of WoT Thing Models in your own Kotlin applications.
This project would not exist without the contributions of the following people:
- Nenad Ukic (@enenuki) — came up with the idea for the WoT Kotlin Generator and created the first implementation of the code generator and Kotlin DSL. Also participated in the hackathon that produced the initial WoT to OpenAPI Generator.
- Hussein Ahmed (@hu-ahmed) — participated in the hackathon that produced the initial WoT to OpenAPI Generator and is the main contributor providing additional features and bugfixing of the tools.
- Thomas Jaeckle (@thjaeckle) — participated in the hackathon that produced the initial WoT to OpenAPI Generator and continued development of both tools.