You have defined the schema in question as a JSON reference that points outside of the
definitions object. This is not possible.
This applies only to OpenAPI Specification (OAS) v2. For more details, see the OAS.
Make sure that all schemas that are JSON references are defined in the