Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: is it possible to define some global variables? #60

Open
yurenchen000 opened this issue Feb 1, 2022 · 0 comments
Open

Q: is it possible to define some global variables? #60

yurenchen000 opened this issue Feb 1, 2022 · 0 comments

Comments

@yurenchen000
Copy link

yurenchen000 commented Feb 1, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant