oax icon indicating copy to clipboard operation
oax copied to clipboard

Q: is it possible to define some global variables?

Open yurenchen000 opened this issue 3 years ago • 0 comments

I use swagger ui before. I found oax today, it's awsome!!

I always want to define some global variable, so I can use them at anyway in openapi.yml.

like the variable used in bash or javascript string:

var1='abc123'
str1=`hello ${var1}`

original openapi spec seem not support this, extensions or some hack can do it easily?

yurenchen000 avatar Feb 01 '22 11:02 yurenchen000