Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Enunciate 从@Path注解生成 REST 资源名称。这并不是真正的用户友好,尤其是对于许多具有长 URI 的资源。
@Path
有没有办法为 REST 资源提供替代名称?
代替:
/Account/userPK/{userPk}/birthday/{birthday}
就像是:
Update Birthday - /Account/userPK/{userPk}/birthday/{birthday}
恐怕不是。
不过,这是一个新功能的好主意。想打开一个问题来跟踪它吗?