Describe the bug
If an OpenAPI documentation is split into several yaml files connected via $ref, and paths contains an endpoint with a path parameter and a $ref, the linter does not check the referenced yaml for this parameter and displays the "path template expressions is not matched with Parameter Object(s)" 3040101 error.
swagger-cli validate does not show any problems.
To Reproduce
openapi.yaml :
paths:
/foo/{id}:
$ref: './external.yaml#/paths/foo'
external.yaml :
paths:
foo:
parameters:
- name: id
in: path
required: true
schema:
type: string
get:
responses:
'200':
description: OK
Expected behavior
If a path uses a $ref, the linter should resolve it and find the parameters inside (as per OpenAPI spec)
SpecLynx OpenAPI Toolkit version (please complete the following information):
Desktop/Electron (please complete the following information):
- OS: Fedora Linux
- Version 44
Describe the bug
If an OpenAPI documentation is split into several
yamlfiles connected via$ref, andpathscontains an endpoint with a path parameter and a$ref, the linter does not check the referencedyamlfor this parameter and displays the "path template expressions is not matched with Parameter Object(s)" 3040101 error.swagger-cli validatedoes not show any problems.To Reproduce
openapi.yaml :
external.yaml :
Expected behavior
If a path uses a
$ref, the linter should resolve it and find the parameters inside (as per OpenAPI spec)SpecLynx OpenAPI Toolkit version (please complete the following information):
Desktop/Electron (please complete the following information):