Andrew Tatomyr
Andrew Tatomyr
We cannot add a configurable rule to built-in rulesets. We either have to transform it to a proper built-in rule or create an external ruleset which we can extend from...
Is it the same when building the docs with `redocly build-docs file.json`?
Not sure what it is about, but it looks related to Redoc. сс @AlexVarchuk
Thanks for reporting the issue, @nickcorby. We'll look into it when we have time. However, I'd still recommend you use the actual specification requirements on where $refs can be put....
@nickcorby here's the excerpt of the starter docs: > Only the "file-per-path" option is semantically correct with the OpenAPI Specification 3.0.2. However, Redocly's openapi-cli will build valid bundles for any...
> it opted for the "filter-per-path" option, unfortunately! @nickcorby do you suggest that the per-path references still produce an error? I think the issue might stem from declaring the `components`...
> however I still need to declare the securitySchemas property within components @nickcorby yes, you can declare securitySchemas in components, it shouldn't interfere with schemas.
It's likely related to some dependencies combination. Do you use a specific version of React in your project? Or other dependencies that use React? Also, what package manager you use?...
Have you tried installing Redocly CLI globally or as a project dependency? Curious if that could resolve the issue.
Then I assume it's an npx caching issue. Could you check if cleaning the cache resolves the issue?