Skip to content

Commit 5c269de

Browse files
committed
for displayattribute
1 parent 3978b30 commit 5c269de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/ByteBard.AsyncAPI.Tests/Models/CustomSchema_Should.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace ByteBard.AsyncAPI.Tests.Models;
55
using AsyncAPI.Models;
66
using AsyncAPI.Models.Interfaces;
77
using AsyncAPI.Writers;
8+
using Attributes;
89
using FluentAssertions;
910
using NUnit.Framework;
1011
using Readers;
@@ -14,7 +15,9 @@ public class CustomSchema_Should
1415
{
1516
public enum MySchemaType
1617
{
18+
[Display("one")]
1719
One,
20+
[Display("two")]
1821
Two,
1922
}
2023

0 commit comments

Comments
 (0)