Merge pull request #7169 from amit2103/BAEL-14274-4
[BAEL-14274] - Fixed article code for https://www.baeldung.com/swagge…
This commit is contained in:
commit
d3af7f38c2
@ -0,0 +1,14 @@
|
|||||||
|
package org.baeldung.web.controller;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
|
||||||
|
@Controller
|
||||||
|
public class CustomController {
|
||||||
|
|
||||||
|
@RequestMapping(value = "/custom", method = RequestMethod.POST)
|
||||||
|
public String custom() {
|
||||||
|
return "custom";
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user