Forum Discussion

mwr1's avatar
mwr1
New Member
3 years ago

Using environment specific URLs in $ref

Is it possible to factor out environment specific URLs in $ref.

 

Example:

The schema definition for a user sits on a server, which has different URLs in different environments.

 

In the prod environment I would use the prod url of the server serving the schema

 

In my local dev environment I would use a local server serving the schema

 

schema:

 

No RepliesBe the first to reply