How to embed URL in swagger response objects

Viewed 13

I would like to embedd an URL(local defined in the same swagger.yaml) in one of the responses. Some thing very much similar to this. The response object from github's get request has many properties like url, repos_url etc. Also It looks like the {user} in the response is replaced by BhanuKiranChaluvadi in all the response url.

I am missing some examples in here. How can we do the same in swagger.yaml ? Thank you

enter image description here

0 Answers
Related