Skip to content
Snippets Groups Projects

OpenAPI 3.0 Documentation using springdoc

Merged Thulasi Dass Subramanian requested to merge az/td-oas into master
17 files
+ 135
99
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -16,15 +16,21 @@
package org.opengroup.osdu.notification.api;
import org.opengroup.osdu.core.common.model.http.RequestInfo;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.v3.oas.annotations.Hidden;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
@Hidden
@RequestMapping("/error")
@Controller
public class GlobalErrorController implements ErrorController {
Loading