Tochka.JsonRpc icon indicating copy to clipboard operation
Tochka.JsonRpc copied to clipboard

JSON RPC 2.0 integration into ASP.NET Core MVC

Results 12 Tochka.JsonRpc issues
Sort by recently updated
recently updated
newest added

I think, we should support unsetted value for `JsonRpcServerOptions.DefaultDataJsonSerializerOptions.PropertyNamingPolicy ` Today, i use this policy ```csharp class UnsetNamingPolicy : JsonNamingPolicy { public override string ConvertName(string name) => name; } ```...

Bumps [Swashbuckle.AspNetCore.SwaggerUI](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.3 to 6.3.0. Release notes Sourced from Swashbuckle.AspNetCore.SwaggerUI's releases. v6.3.0 Changes since v6.2.3 Commits d63f028 Update nuget API keys c5094a3 Merge pull request #2367 from domaindrivendev/fix-enum-deduping fdf8d9a...

dependencies

Bumps [Swashbuckle.AspNetCore.SwaggerUI](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.3 to 6.3.0. Release notes Sourced from Swashbuckle.AspNetCore.SwaggerUI's releases. v6.3.0 Changes since v6.2.3 Commits d63f028 Update nuget API keys c5094a3 Merge pull request #2367 from domaindrivendev/fix-enum-deduping fdf8d9a...

dependencies

Types generated from method parameters may contain CancellationTokens. Swagger ignores them by default for REST, we should too.

Задача: задать определенный формат datetime при сериализации/десериализации тела реквестов/респонсов. Решаться должна тем что имплементим интерфейс IJsonRpcSerializer, в котором в settings добавляем вот эту строку `DateFormatString = "yyyy-MM-ddTHH:mm:ssK" //мой кастомный формат`...

bug

Если api содержит методы, возвращающие void (или Task), то при генерации автодоки происходит ошибка: `The type 'System.Void' may not be used as a type argument`

bug

Currently app starts but returns 500 if XML docs are not generated. Add check for this file and throw exception with sane description to help users configure their project (should...

Если у метода есть параметр с типом string, но в запросе вместо string передавать допустим int, то он успешно сам конвертится в string и никакой ошибки не выдает. **Метод** ```...

Remove changelog from beta branch to avoid conflicts with master

Wrap all logic into try/catch and throw custom exception with context and nested original exception.This is useful because context has detailed information about request and response

client