spring-projects / spring-data-rest

Simplifies building hypermedia-driven REST web services on top of Spring Data repositories
https://spring.io/projects/spring-data-rest
Apache License 2.0
913 stars 561 forks source link

Fix typos and annotation use in reference documentation #2370

Closed yejianfengblue closed 7 months ago

yejianfengblue commented 7 months ago
  1. Change the url in important note to /scanners/search/producers, so as to match the mapping path in @GetMapping(path = "/scanners/search/producers")

  2. Change annotation @BasePathAwareController to @RepositoryRestController in the java code examples, because the text is talking about @RepositoryRestController.

  3. Change the header @RepositoryRestResource VS. @BasePathAwareController to @RepositoryRestController VS. @BasePathAwareController, because the content is talking about @RepositoryRestController

mp911de commented 7 months ago

Thank you for your contribution. That's merged, polished, and backported now.