Skip to content

readFromJsonFile not working? #29

@githubuser441

Description

@githubuser441

I used the code from readme file but it's not working. code:
`require DIR . '/vendor/autoload.php';
use cebe\openapi\Reader;

// realpath is needed for resolving references with relative Paths or URLs
$openapi = Reader::readFromJsonFile(realpath('shootproof-studio-openapi.json'));`
Using this json file:
https://developer.shootproof.com/oas/studio.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions