Support for kotlin.Deprecated
See original GitHub issueHi, using SpringFox in a Kotlin project.
When an endpoint is marked with java.lang.Deprecated
, then SpringFox 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. This would be particularly useful with IntelliJ, as java.lang.Deprecated
is itself deprecated in Kotlin, and IntelliJ flags all of its usages (with warnings to rather replace it with kotlin.Deprecated
)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Deprecated - Kotlin Programming Language
A deprecated API element is not recommended to use, typically because it's being phased out or a better alternative exists. To help removing...
Read more >Deprecation in Kotlin | Baeldung on Kotlin
By default, the Kotlin compiler only prints a warning message if we use a deprecated method. This compiler action, however, can be configured ......
Read more >Enhanced Deprecation in Kotlin - Todd Ginsberg
Kotlin's Deprecation annotation makes life a lot easier for everybody when deprecating code. In this post, I'll show you what @Deprecated ...
Read more >Deprecated | Android Developers
A program element annotated @Deprecated is one that programmers are discouraged from using. An element may be deprecated for any of several reasons, ......
Read more >Support for kotlin.Deprecated · Issue #414 - GitHub
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 ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This can be easily implemented as a plugin. Perhaps the long term solution is to create a Kotlin module that configures the defaults for Kotlin. Please +1 this issue if you’d like to see a fix for this or would like to create a Kotlin module
Here is a workaround: