Uncaught Error: Call to undefined method Jane\Component\JsonSchemaRuntime\Reference::getDefault()
in NonBodyParameterGenerator.php:164
#803
Labels
Jane version(s) affected: 7.6.x
Description
When attempting to generate an API client from the OpenAPI spec document linked below, this fatal error is triggered and generation can't continue.
How to reproduce
This triggers with this OpenAPI 3.0 spec document: https://raw.githubusercontent.com/vrchatapi/specification/gh-pages/openapi.yaml
Stack trace
Additional context
I strongly suspect this is related to #299 as it's the exact same error being triggered on the exact same file. Unfortunately, it looks like the fix from that issue didn't also fix this issue.
It's possible that the OpenAPI spec YAML is malformed in some way, but I can't immediately identify what's causing the problem with just the error given by JanePHP.
The text was updated successfully, but these errors were encountered: