Skip to content

Support for kotlin.Deprecated #414

Closed
@StevenKuypers

Description

@StevenKuypers

Hi,
This is about using OpenApi in a Kotlin project.

When an endpoint is marked with java.lang.Deprecated, then SpringDoc shows it as deprecated in the GUI (as expected). For Kotlin projects, it would be good to have the same support for when the annotation kotlin.Deprecated is used. It is possible to add "deprecated = true" to @operation to see the strike-through on the swagger page, but then we still miss the message, level and ReplaceWith of the kotlin.Deprecated annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions