How to set list of possible variables without values #4556
-
|
Hello! I try to use Bruno collection as api documentation. Idea is - put collection in repository along with the code and with each changes in api - update collection. Simple - you have nice documentation. But! Every time i change variables in Bruno client (eg. limit/offset/whatever) - it update file. But i do not want commit each variable change. So question: is it possible to create a list of possible variables with default values (or no value) for a request, use them in a query - but the specific values of these variables specified by the user are not written to the collection file |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi @freebuu - there are two options for variables not being written into the file. You could either mark them as secrets, or use a .env file. Let me know your thoughts. |
Beta Was this translation helpful? Give feedback.
I realize they aren't secrets as such, but currently that's the only way to avoid a value being written to the file/git. We don't currently have any other way to either segment things to the GUI or dictate in another way what doesn't get written to the file.