@Test void testFromYamlDisabledOpenApi() throws Exception { ThunderConfiguration configuration = FACTORY.build(new File(Resources.getResource( "fixtures/configuration/thunder-config-disabled-openapi.yaml").toURI())); assertFalse(configuration.getOpenApiConfiguration().isEnabled()); }
OpenApiConfiguration getOpenApiConfiguration() { return Optional.ofNullable(openApiConfiguration) .orElse(new OpenApiConfiguration()); }
ThunderConfiguration extends Configuration { OpenApiConfiguration getOpenApiConfiguration() { return Optional.ofNullable(openApiConfiguration) .orElse(new OpenApiConfiguration()); } }
ThunderConfiguration extends Configuration { OpenApiConfiguration getOpenApiConfiguration() { return Optional.ofNullable(openApiConfiguration) .orElse(new OpenApiConfiguration()); }  }
ThunderConfiguration extends Configuration { OpenApiConfiguration getOpenApiConfiguration() { return Optional.ofNullable(openApiConfiguration) .orElse(new OpenApiConfiguration()); }   }
ThunderConfiguration extends Configuration { OpenApiConfiguration getOpenApiConfiguration() { return Optional.ofNullable(openApiConfiguration) .orElse(new OpenApiConfiguration()); }    }