Skip to content

OpenAPI read error when referencing external response definition

In Linux (in Windows is OK), an error occurs with this construction:

paths:
  /endpoint2:
    get:
      operationId: endpoint2
      responses:
        404:
          $ref: '../api-part1.yaml#/components/responses/Error'