Skip to content

Commit 0a62785

Browse files
refactor Controller to RestController
1 parent 555b6c4 commit 0a62785

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

src/main/java/es/in2/vcverifier/oid4vp/controller/LoginQrController.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
import org.springframework.http.HttpStatus;
66
import org.springframework.stereotype.Controller;
77
import org.springframework.ui.Model;
8-
import org.springframework.web.bind.annotation.GetMapping;
9-
import org.springframework.web.bind.annotation.RequestMapping;
10-
import org.springframework.web.bind.annotation.RequestParam;
11-
import org.springframework.web.bind.annotation.ResponseStatus;
8+
import org.springframework.web.bind.annotation.*;
129

1310
import java.io.ByteArrayOutputStream;
1411
import java.util.Base64;
1512

16-
@Controller
13+
@RestController
1714
public class LoginQrController {
1815

1916

src/main/java/es/in2/vcverifier/security/JWKSourceCreationException.java

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)