Uploaded image for project: 'Spring Data REST'
  1. Spring Data REST
  2. DATAREST-535

Document how to override Spring Data REST exposed resources using manual controller implementations

    XMLWordPrintable

    Details

      Description

      To override the resources automatically exported using manual controllers the controllers written have to consider certain aspects to make sure, they're not picked up by the standard Spring MVC handler mapping:

      • use @BasePathAwareController instead of @Controller or @RestController
      • not use @RequestMapping on the type level

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregturn Greg Turnquist
              Reporter:
              olivergierke Oliver Drotbohm
              Last updater:
              Greg Turnquist
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: