Enunciate 生成 REST 资源名称 @Path 注解。这并不是真正的用户友好,尤其是对于许多具有长 URI 的资源。

有没有办法为 REST 资源提供替代名称?

代替:

/Account/userPK/{userPk}/birthday/{birthday}

就像是:

Update Birthday - /Account/userPK/{userPk}/birthday/{birthday}
有帮助吗?

解决方案

恐怕不是。

不过对于新功能来说这是一个好主意。想 打开一个问题来跟踪它?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top