forked from loafle/openapi-generator-original
mark 'findMethodResponse' method in DefaultCodegen.java as 'protected' to make it possible to override for handling custom response codes
This commit is contained in:
@@ -1231,7 +1231,7 @@ public class DefaultCodegen {
|
||||
}
|
||||
}
|
||||
|
||||
private static Response findMethodResponse(Map<String, Response> responses) {
|
||||
protected Response findMethodResponse(Map<String, Response> responses) {
|
||||
|
||||
String code = null;
|
||||
for (String responseCode : responses.keySet()) {
|
||||
|
||||
Reference in New Issue
Block a user