在Ktor应用程序中使用JSON-API服务器库

时间:2018-10-16 21:20:38

标签: kotlin json-api ktor

我有一个Ktor应用程序(在Kotlin中),并且希望根据JSON:API规范公开端点。我了解我的库选项位于JSON:API的Java服务器库之间,即Katharsis(给出了Dropwizard,Spring Boot等的代码示例)和Crnk(给出了Spring Boot的示例)。我对Katharsis进行了尝试,但是我不清楚Ktor应用程序应如何注册/公开ResourceRepositoryV2类。

是否有任何示例或指针?

0 个答案:

没有答案