Skip to content

Commit

Permalink
[feat] 문의 Controller 구현 (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarlgnszx committed Oct 13, 2024
1 parent cba0557 commit 9ca996b
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package org.sopt.app.presentation.report;

import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@RequestMapping("/api/v2/reports")
@SecurityRequirement(name = "Authorization")
public class ReportController {

@Value("${report.url}")
private String formUrl;

@GetMapping
public ResponseEntity<String> getReport(){
return ResponseEntity.ok(formUrl);
}

}

0 comments on commit 9ca996b

Please sign in to comment.