@@ -88,7 +88,6 @@ public class OpenAPIV3ParserTest {
88
88
@ Test
89
89
public void testIssue1643_True () throws Exception {
90
90
ParseOptions options = new ParseOptions ();
91
- options .setValidateInternalRefs (true );
92
91
String issue1643 = "openapi: \" 3.0.0\" \n " +
93
92
"info:\n " +
94
93
" version: 1.0.0\n " +
@@ -132,6 +131,7 @@ public void testIssue1643_True() throws Exception{
132
131
@ Test
133
132
public void testIssue1643_False () throws Exception {
134
133
ParseOptions options = new ParseOptions ();
134
+ options .setValidateInternalRefs (false );
135
135
String issue1643 = "openapi: \" 3.0.0\" \n " +
136
136
"info:\n " +
137
137
" version: 1.0.0\n " +
@@ -370,6 +370,7 @@ public void testCantReadDeepProperties() {
370
370
OpenAPIV3Parser parser = new OpenAPIV3Parser ();
371
371
ParseOptions options = new ParseOptions ();
372
372
options .setResolveFully (true );
373
+ options .setValidateInternalRefs (false );
373
374
374
375
final SwaggerParseResult parseResult = parser .readLocation ("src/test/resources/cant-read-deep-properties.yaml" , null , options );
375
376
assertEquals (parseResult .getMessages ().size (), 0 );
@@ -2552,6 +2553,7 @@ public void testIssue915() {
2552
2553
public void testIssue931 () {
2553
2554
ParseOptions options = new ParseOptions ();
2554
2555
options .setResolve (true );
2556
+ options .setValidateInternalRefs (false );
2555
2557
SwaggerParseResult result = new OpenAPIV3Parser ().readLocation ("Issue_931.json" , null , options );
2556
2558
assertNotNull (result .getOpenAPI ());
2557
2559
assertTrue (result .getMessages ().size () > 0 );
0 commit comments