@@ -29,7 +29,7 @@ public function testEmpty()
29
29
30
30
public function testReadPetStore ()
31
31
{
32
- $ openApiFile = __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/petstore.yaml ' ;
32
+ $ openApiFile = __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/petstore.yaml ' ;
33
33
34
34
$ yaml = Yaml::parse (file_get_contents ($ openApiFile ));
35
35
$ openapi = new OpenApi ($ yaml );
@@ -94,12 +94,12 @@ public function specProvider()
94
94
// examples from https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v3.0
95
95
$ oaiExamples = [
96
96
// TODO symfony/yaml can not read this file!?
97
- // __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/api-with-examples.yaml',
98
- __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/callback-example.yaml ' ,
99
- __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/link-example.yaml ' ,
100
- __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/petstore.yaml ' ,
101
- __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/petstore-expanded.yaml ' ,
102
- __DIR__ . '/../../vendor/oai/openapi-specification/examples/v3.0/uspto.yaml ' ,
97
+ // __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/api-with-examples.yaml',
98
+ __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/callback-example.yaml ' ,
99
+ __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/link-example.yaml ' ,
100
+ __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/petstore.yaml ' ,
101
+ __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/petstore-expanded.yaml ' ,
102
+ __DIR__ . '/../../vendor/oai/openapi-specification-3.0 /examples/v3.0/uspto.yaml ' ,
103
103
];
104
104
105
105
// examples from https://github.com/Mermade/openapi3-examples
0 commit comments