# Schema Validation not working when Path Templating and Fixed Paths overlap

**URL:** <https://community.postman.com/t/schema-validation-not-working-when-path-templating-and-fixed-paths-overlap/18725>\
**Category:** Help Hub\
**Tags:** collections, apidesign, validation\
**Created:** [December 28, 2020, 4:22pm UTC](https://community.postman.com/t/schema-validation-not-working-when-path-templating-and-fixed-paths-overlap/18725 "2020-12-28T16:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darren.capner](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/darren.capner/32/4730_2.png) [@darren.capner](https://community.postman.com/u/darren.capner)\
**Post date:** [December 28, 2020, 4:22pm UTC](https://community.postman.com/t/schema-validation-not-working-when-path-templating-and-fixed-paths-overlap/18725/1 "2020-12-28T16:22:48Z")

</div>

Hi,

I am trying to define an Openapi spec where I have the following paths:

- /{id}
- /lookups

When I perform a validation on the collection within the API Designer, I receive the following conflict.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/c/2cd08a36cd2d52b8265ca5f04819750571840afe.png)

The API Designer Collection validator does not understand a fixed path where there exists a path with a wildcard.

Definition used below that is causing issues:

```
/lookups:
    get:
      summary: Lookup Job Values
      description: Lookup values for job fields
      operationId: lookupJobValues
      security:
        - authorizer: []
      parameters:
        - in: path
          name: include
          schema:
            type: string
          required: true
          description: Unique value to return list of possible job field values.
          example: "cancellationReasons"
/{jobid}:
    get:
      summary: Get Job by ID
      description: |
        Retrieve a job by the identifier provided.
        Query Parameters supported are:
        * 'include' will return related entities to a Job. Can ask for 'quote' at this time.
      operationId: getJobById
      security:
        - authorizer: []
      parameters:
        - in: path
          name: jobid
          schema:
            type: string
          required: true
          description: Unique identifier for a job to retrieve.
          example: "{{jobid}}"
        - in: query
          name: include
          schema:
            type: string
            example: quote
          required: false
          description: Include related entities to a Job to be returned in request. Can ask for 'quote' at this time.

```

This appears to be allowed when looking at the Swagger Pet Store example.  
[https://petstore.swagger.io/](https://petstore.swagger.io/)  
[https://petstore.swagger.io/v2/swagger.json](https://petstore.swagger.io/v2/swagger.json)

```
"paths": {
    "/pet/{petId}/uploadImage": {
        "post": {}
    },
    "/pet": {
        "post": {},
        "put": {}
    },
    "/pet/findByStatus": {
    }
...
}

```

Would someone be able to explain what I may be doing wrong?

Opened a bug in [Github](https://github.com/postmanlabs/postman-app-support/issues/9396)

Thank you!
