Update api contracts

This commit is contained in:
Sergey Nazarov 2024-03-26 15:43:26 +03:00
parent 33b2ea9a6a
commit 261d62c83f

View File

@ -11,7 +11,7 @@ public interface ITextMatchesController
Task<long> Create([Body] CreateTextMatchRequest request, CancellationToken cancellationToken = default);
[Get(WebRoutes.TextMatches.ById)]
Task<TextMatchData> GetById([Path] long id, CancellationToken cancellationToken = default);
Task<TextMatchData?> GetById([Path] long id, CancellationToken cancellationToken = default);
[Get(WebRoutes.TextMatches.ByUserId)]
Task<TextMatchData[]> GetByUserId([Path] long userId, CancellationToken cancellationToken = default);