Skip to content

CodeAction to Generate Open API Annotations #239

@angelozerr

Description

@angelozerr

This CodeAction to Generate Open API Annotations feature is supported by the IBM MicroProfile LS https://github.com/MicroShed/microprofile-language-server/blob/517056559d82244355b51365d6617caf5b36be1f/src/main/java/com/microprofile/lsp/internal/helper/SourceAssistHelper.java

The idea is to provide a CodeAction Generate Open API Annotations with CodeActionKind.Source to generate Open API annotations. The current implementation generates the @operation annotation for each methods of the class (see https://github.com/MicroShed/microprofile-language-server/blob/517056559d82244355b51365d6617caf5b36be1f/src/main/java/com/microprofile/lsp/internal/GenerateOpenAPIAnnotations.java#L78).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions