forked from loafle/openapi-generator-original
* fix #7734: Correct consumes/produces attributes for Spring Controllers * fix #7734: Update petstore
This commit is contained in:
committed by
William Cheng
parent
4eeb974cb6
commit
f00a1ef52c
@@ -27,7 +27,7 @@ public interface FakeClassnameTestApi {
|
||||
|
||||
FakeClassnameTestApiDelegate getDelegate();
|
||||
|
||||
@ApiOperation(value = "To test class name in snake case", nickname = "testClassname", notes = "", response = Client.class, authorizations = {
|
||||
@ApiOperation(value = "To test class name in snake case", nickname = "testClassname", notes = "To test class name in snake case", response = Client.class, authorizations = {
|
||||
@Authorization(value = "api_key_query")
|
||||
}, tags={ "fake_classname_tags 123#$%^", })
|
||||
@ApiResponses(value = {
|
||||
|
||||
@@ -81,7 +81,7 @@ public interface UserApi {
|
||||
@RequestMapping(value = "/user/{username}",
|
||||
produces = { "application/xml", "application/json" },
|
||||
method = RequestMethod.GET)
|
||||
default ResponseEntity<User> getUserByName(@ApiParam(value = "The name that needs to be fetched. Use user1 for testing. ",required=true) @PathVariable("username") String username) {
|
||||
default ResponseEntity<User> getUserByName(@ApiParam(value = "The name that needs to be fetched. Use user1 for testing.",required=true) @PathVariable("username") String username) {
|
||||
return getDelegate().getUserByName(username);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user