Skip to content

Implement automatic generation of Open API / Swagger documentation from JavaDoc comments in controllers #1040

@ipolevoy

Description

@ipolevoy

the idea is to develop the OpenAPI documentation directly in the controller Java files as JavaDoc, but then generate the OpenAPI - compatible format to expose as real documentation. This way, the JavaDoc will also serve and an official API documentation.

Also, it makes sense to carve out blocks of JavaDoc for this, such that if any content is outside such a block, it will not be part of the exposed API - this is necessary for internal comments, implementational detail, etc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions