An OpenAPI alternative to describe REST APIs for type-safe code generation.
Specification Editor GeneratorThe server code is based on Spring. The generated code contains the controller and model classes which are described at the specification. You only need to copy and paste the generated code into your source folder. A simple controller would look like:
@RestController
class App {
@GetMapping("/hello/world")
@ResponseStatus(200)
HelloWorld getMessage() {
// @TODO implement method
}
}