-
-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
I am trying to lint a schema that may have some issues but is currently successfully having code generated from it. When I try to run vacuum I get the following generic error:
Location | Severity | Message | Rule | Category | Path
openapi.yml:0:0 | error | schema invalid: got null, want object | oas3-schema | Schemas | $
Seeming to indicate the entire file is invalid. However there are other warning messages output afterwards:
### `Operations` violations
<details><summary>⚠️️ Warnings: 4</summary>
⚠️️ operation-success-response: 4
| location | JSONPath |
| -------- | ----------------------------------------------------------------------- |
| `226:7` | $.paths['/api/v1/restore-complete'].post.responses |
I don't know how to resolve the oas3-schema error. Any ways I can debug this as it occurs on a few, but not all, of the schemas I have tried.
Metadata
Metadata
Assignees
Labels
No labels