File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
swagger-parser-core/src/main/java/io/swagger/v3/parser/core/models
swagger-parser-v3/src/main/java/io/swagger/v3/parser/processors Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ public class ParseOptions {
13
13
private boolean validateInternalRefs = true ;
14
14
private boolean legacyYamlDeserialization = false ;
15
15
private boolean resolveRequestBody = false ;
16
- private boolean resolveResponses = true ;
17
16
18
17
public boolean isResolve () {
19
18
return resolve ;
@@ -50,18 +49,6 @@ public boolean isResolveRequestBody() {
50
49
public void setResolveRequestBody (boolean resolveRequestBody ) {
51
50
this .resolveRequestBody = resolveRequestBody ;
52
51
}
53
-
54
- public boolean isResolveResponses () {
55
- return resolveResponses ;
56
- }
57
-
58
- /**
59
- * If set to true, will help resolving the responses as inline, provided resolve is also set to true.
60
- * Default is true because of the existing behaviour.
61
- */
62
- public void setResolveResponses (boolean resolveResponses ) {
63
- this .resolveResponses = resolveResponses ;
64
- }
65
52
66
53
public boolean isFlatten () { return flatten ; }
67
54
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public void processOperation(Operation operation) {
62
62
ApiResponse response = responses .get (responseCode );
63
63
if (response != null ) {
64
64
//This part allows parser to put response inline without the resolveFully option set to true
65
- if (response .get$ref () != null && cache != null && cache . getParseOptions () != null && cache . getParseOptions (). isResolveResponses () ) {
65
+ if (response .get$ref () != null ) {
66
66
67
67
responseProcessor .processResponse (response );
68
68
You can’t perform that action at this time.
0 commit comments