JSONAPIbestwayforrespondinganon-resourcedatalikeaaccesstokenwithjsonapi-resources我正在实现这个API,我做的第一件事是使用访问令牌登录。我正在使用jsonapi-resourcesgemhttps://github.com/cerebris/jsonapi-resources我现在有两个问题。我想在成功的情况下返回用户和生成的访问令牌,否则返回失败消息。现在我遇到了两个问题:1-第一个是,我怎样才能返回这种数据(用户记录加上访问令牌)。阅读JSONAPI规范我相信compounddocument将是要走的路,但我
JSONAPIbestwayforrespondinganon-resourcedatalikeaaccesstokenwithjsonapi-resources我正在实现这个API,我做的第一件事是使用访问令牌登录。我正在使用jsonapi-resourcesgemhttps://github.com/cerebris/jsonapi-resources我现在有两个问题。我想在成功的情况下返回用户和生成的访问令牌,否则返回失败消息。现在我遇到了两个问题:1-第一个是,我怎样才能返回这种数据(用户记录加上访问令牌)。阅读JSONAPI规范我相信compounddocument将是要走的路,但我
SpringDataRestHateoasResourcesobjectemptywhenconsumingwithFeignclientinclientservice我最近尝试使用SpringBoot1.4.1和SpringCloudCamdenSR1复制此视频和此github存储库中的SpringCloud示例,但遇到了问题。当客户端服务使用Feign客户端调用生产者服务时,反序列化的资源没有内容或链接。进一步挖掘后,问题似乎与MappingJackson2HttpMessageConverter和它的JacksonObjectMapper有关。当我查看伪装客户端的SpringDecode
SpringDataRestHateoasResourcesobjectemptywhenconsumingwithFeignclientinclientservice我最近尝试使用SpringBoot1.4.1和SpringCloudCamdenSR1复制此视频和此github存储库中的SpringCloud示例,但遇到了问题。当客户端服务使用Feign客户端调用生产者服务时,反序列化的资源没有内容或链接。进一步挖掘后,问题似乎与MappingJackson2HttpMessageConverter和它的JacksonObjectMapper有关。当我查看伪装客户端的SpringDecode