Skip to content

Commit dc40a59

Browse files
feature(#20): this commit updates the API convention to include a sample response when creating a client
1 parent 3235572 commit dc40a59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Applications/Backend/Source/HttpsRichardy.Federation.WebApi/Conventions/ClientsConventions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static class ClientsConventions
99
public static void GetClientsAsync(ClientsFetchParameters request, CancellationToken cancellation) { }
1010

1111
[ApiConventionNameMatch(ApiConventionNameMatchBehavior.Prefix)]
12-
[ProducesResponseType(StatusCodes.Status201Created)]
12+
[ProducesResponseType(typeof(ClientScheme), StatusCodes.Status201Created)]
1313
[ProducesResponseType(typeof(Error), StatusCodes.Status409Conflict)]
1414
public static void CreateClientAsync(ClientCreationScheme request, CancellationToken cancellation) { }
1515

0 commit comments

Comments
 (0)