Skip to content

Commit 92d39e1

Browse files
Merge branch 'improve-examples-summary' into dotnet-upgrade
2 parents a21c016 + 98e7396 commit 92d39e1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Responses/CustomErrorDetailResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public class CustomErrorDetailResponse
55
/// <summary>
66
/// Exception type to identificate what error was throw
77
/// </summary>
8+
/// <example>VALIDATION_ERRORS</example>
89
public string Type { get; set; }
910

1011
/// <summary>
@@ -35,11 +36,13 @@ public class CustomErrorDetail
3536
/// <summary>
3637
/// Error message
3738
/// </summary>
39+
/// <example>Item not found</example>
3840
public string Msg { get; set; }
3941

4042
/// <summary>
4143
/// StackTrace error message
4244
/// </summary>
45+
/// <example>at CustomExceptionMiddleware.WebAppTest.Custom.ProductService.GetDomainException(Boolean returnProducts)</example>
4346
public string Detail { get; set; }
4447

4548
/// <summary>

src/Responses/CustomErrorResponse.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public class CustomErrorResponse
55
/// <summary>
66
/// Exception type to identificate what error was throw
77
/// </summary>
8+
/// <example>VALIDATION_ERRORS</example>
89
public string Type { get; set; }
910

1011
/// <summary>
@@ -35,6 +36,7 @@ public class CustomError
3536
/// <summary>
3637
/// Error message
3738
/// </summary>
39+
/// <example>Item not found</example>
3840
public string Msg { get; set; }
3941

4042
/// <summary>

0 commit comments

Comments
 (0)