Skip to content

Clarification on path templates that overlap another path #1127

@lmsurpre

Description

@lmsurpre

Apologies if I'm missing something obvious, but I was trying to find a definitive statement that describes whether/how overlapping paths should work. For example, consider two paths like:

  • /one
  • /{template}

I browsed the spec but didn't see it. I browsed through Issue #574 and related issues, but those seem to cover more advanced cases.

I think its generally understood that this is supported (just look at http://petstore.swagger.io/) and that the concrete/fixed path(s) takes 'precedence' over the path template or path wildcard, but I was just looking for some re-assurance from the spec. Hopefully something I just missed?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions