Skip to content

Instantly share code, notes, and snippets.

@sojw
sojw / SampleApiContorller.java
Last active August 5, 2019 02:09
Spring SwaggerConfiguration JavaConfig example
@Api(value = "Some API")
@RestController
@RequestMapping(value = "/Service")
public class SampleApiContorller {
@Autowired
private ResponseEntityUtil responseEntityUtil;
@Autowired
private ServiceApiProxyFactory serviceApiProxyFactory;