Skip to content

Commit

Permalink
Added example values for dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBugginsNHS committed Nov 23, 2023
1 parent fd09167 commit 55e151d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions commcheck-api/src/src/Api/CommsCheckQuestionRequestDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,23 @@ public readonly record struct CommsCheckQuestionRequestDto(
[property: SwaggerSchema("Date of birth yyyy-mm-dd")]
[property: SwaggerSchemaExample("2000-06-07")]
DateOnly DateOfBirth,

[property: SwaggerSchemaExample("2022-01-01")]
DateOnly DateOfSmsMostRecentUpdate,

[property: SwaggerSchemaExample("2022-06-01")]
DateOnly DateOfEmailMostRecentUpdate,

[property: SwaggerSchemaExample("2022-07-01")]
DateOnly DateOfAppMostRecentUpdate,

[property: SwaggerSchema("Date postal address was last updated. yyyy-mm-dd")]
[property: SwaggerSchemaExample("2021-01-01")]
DateOnly DateOfPostalMostRecentUpdate,

[property: SwaggerSchemaExample("2023-01-01")]
DateOnly DateOfReasonForRemovalMostRecentUpdate,

DeathStatus? DeathStatusValue,
ReasonForRemovals? RfR,

Expand Down

0 comments on commit 55e151d

Please sign in to comment.