Skip to content

Commit

Permalink
[MERGE] 문의 Controller 구현 (#417) (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarlgnszx authored Oct 13, 2024
2 parents cba0557 + 9ca996b commit f3521c7
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 f3521c7

Please sign in to comment.