Skip to content

Conversation

@Norda-AD
Copy link
Contributor

Before, the deprecation badge was just a boolean. Now it can be used both as a boolean and a string. With a string, the badge is enhanced with said string to add some context. This does not work with external resources since the OpenAPI specification accepts only a boolean value.

Fix #1018

Before, the deprecation badge was just a boolean. Now it can be used both as a boolean
and a string. With a string, the badge is enhanced with said string to add some context.
This does not work with external resources since the OpenAPI specification accepts only
a boolean value.

Fix knuckleswtf#1018
@Norda-AD Norda-AD marked this pull request as ready for review August 21, 2025 13:50
@MielPoule
Copy link

+1 I am looking for this functionality as well !

@shalvah
Copy link
Contributor

shalvah commented Oct 20, 2025

Great work, thank you!

@shalvah shalvah changed the title Add deprecation date support Add deprecation attribute string support Oct 20, 2025
@shalvah shalvah merged commit 8aa309a into knuckleswtf:v5 Oct 20, 2025
@Norda-AD Norda-AD deleted the upgrade-deprecated branch October 21, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance the deprecated attribute

3 participants