Version: 1.0.0
Path Ordering Tests
Validates that static path segments are correctly resolved when declared
after parametric paths at the same nesting level. The /pet/findByTags
endpoint must show the full URL in code samples, not just the base server.
Also validates that a static tail (/{petIds}/summary) does not steal a
binding from a fully-parametric sibling (/{petId}/{tagId}), and vice
versa, when both share the same segment count.
Regression coverage for:
- https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/1519
- https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/1526
Finds Pets by status
Expected URL in code samples:
Find pet by ID
Expected URL in code samples:
Finds Pets by tags
This endpoint is declared after `/pet/{petId}` in the spec to verify
Find pet tag by ID
Expected URL in code samples:
Get summary for multiple pets
Shares segment count with `/pet/{petId}/{tagId}`, but the trailing