Support DescriptionAttribute and ReadOnlyAttribute#3162
Merged
martincostello merged 3 commits intodomaindrivendev:masterfrom Nov 22, 2024
Merged
Conversation
Collaborator
IIRC, it's typically used to provide non-code text for UI elements for code members. For example: [DisplayName("First name")]
public string FirstName { get; set; }I've seen them commonly used to for the Visual Studio designer. For example, this code renders how property windows like the one below Visual Studio. |
Contributor
Author
I do not see the need for integrating this attribute, because there is already integrated by the serializers the JsonPropertyName and for Query/Path variables you can put the name of the parameter overriding the name of the object like what we do here: |
martincostello
approved these changes
Nov 22, 2024
This was referenced Jul 31, 2025
Bump Swashbuckle.AspNetCore from 5.6.3 to 9.0.0
timerknight/skills-secure-repository-supply-chain#17
Open
Open
This was referenced Apr 21, 2026
Open
Open
Bump Swashbuckle.AspNetCore from 5.6.3 to 10.1.7
monma-ed75/skills-secure-repository-supply-chain#12
Open
Open
Open
Open
Bump Swashbuckle.AspNetCore from 5.6.3 to 10.1.7
afeefaa333/skills-secure-repository-supply-chain#12
Open
Open
Open
Open
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

contributes #1954
I do not really know what is intended with DisplayName attribute, but I am sure someone can give me advice in what to do with that attribute