# Contract tests collection

**URL:** <https://community.postman.com/t/contract-tests-collection/82074>\
**Category:** Help Hub\
**Tags:** collections, contract\
**Created:** [July 9, 2025, 4:39pm UTC](https://community.postman.com/t/contract-tests-collection/82074 "2025-07-09T16:39:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hv-mandar](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hv-mandar](https://community.postman.com/u/hv-mandar)\
**Post date:** [July 9, 2025, 4:39pm UTC](https://community.postman.com/t/contract-tests-collection/82074/1 "2025-07-09T16:39:39Z")

</div>

The contract tests collection in POSTMAN requires a schemaUrl defined in the env. In my case I can very well use a github raw URL to my openapi spec in there but that URL expires after a certain time. How to overcome this problem?  
I was suggested to edit the GET Schema URL API from that and put in auth there but that does not work as I have a GitHub PAT only.
