-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Using $ref under components/schema results in spec validation failure #11151
Comments
Have been hit by same issue. I'm currently working around this by completely dereferencing the specification through swagger-cli:
|
Same problem here. Using @wolkenschieber solution solve partially the problem. Using bundle command of redocly does not work at all 😢 |
@wolkenschieber solution worked for me, but with this tweak:
|
Does someone have an idea of what to do to resolve this issue? |
how about this bug? what time will fix this bug? |
Have the same issue with schema defined like
and
receiving this error
|
I just submitted an issue on the OpenAPI specification in the hope that they could make it clear in the next version that the syntax is correct. |
Any update here? |
Saw the same issue any updates here? |
any update ? bundling of my api results is a 174 Mb file, not processable |
A spec like this:
Results in validation error(s):
This is using docker.io/openapitools/openapi-generator-cli:latest (image id: e718a88b4de4). The spec with the
schemas
changed as below passes the validation:According to 3.0 docs a
$ref
element should be valid immediately underschema
.The text was updated successfully, but these errors were encountered: