From 22f49fa9828898417e29934b87948582dc814853 Mon Sep 17 00:00:00 2001 From: gitetsu Date: Thu, 21 May 2020 10:37:15 +0900 Subject: [PATCH] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 894b7bad..ae7a86e5 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Read OpenAPI Description from YAML: use cebe\openapi\Reader; // realpath is needed for resolving references with relative Paths or URLs -$openapi = Reader::readFromYamlFile(realpath('openapi.json')); +$openapi = Reader::readFromYamlFile(realpath('openapi.yaml')); // you may also specify the URL to your API Description file $openapi = Reader::readFromYamlFile('https://raw.githubusercontent.com/OAI/OpenAPI-Specification/3.0.2/examples/v3.0/petstore-expanded.yaml'); ```