package io.abnd.rvep.security.rest;

import io.abnd.rvep.security.model.AuthProvider;
import io.abnd.rvep.security.service.intf.AuthProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/auth/provider")
public class AuthProviderController {

    @Autowired
    private AuthProviderService authProviderService;

    @ResponseBody
    @RequestMapping(path = "/getAuthProviders", produces = "application/json")
    public ResponseEntity<List<AuthProvider>> getAuthProviders() {
        return new ResponseEntity(authProviderService.getAuthProviders(), HttpStatus.OK);
    }

}

@@ -721,21 +721,18 @@
  = %22/get
-AuthP
+/p
 roviders

change request mapping