Skip to content

Commit

Permalink
Update overriding-sdr-response-handlers.adoc
Browse files Browse the repository at this point in the history
fix typo in the mapping path
  • Loading branch information
yejianfengblue authored Feb 17, 2024
1 parent c735dfd commit f6d6b50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ScannerController {

`CollectionModel` is for a collection, while `EntityModel` -- or the more general class `RepresentationModel` -- is for a single item. These types can be combined. If you know the links for each item in a collection, use `CollectionModel<EntityModel<String>>` (or whatever the core domain type is rather than `String`). Doing so lets you assemble links for each item as well as for the whole collection.

IMPORTANT: In this example, the combined path is `RepositoryRestConfiguration.getBasePath()` + `/scanners/search/listProducers`.
IMPORTANT: In this example, the combined path is `RepositoryRestConfiguration.getBasePath()` + `/scanners/search/producers`.

[[customizing-sdr.aggregate-references]]
== Obtaining Aggregate References
Expand Down

0 comments on commit f6d6b50

Please sign in to comment.