rename default environment from prod to dev; make BASE_URL non-secret and add a default value for it; modify collection documentation accordingly to changes above

This commit is contained in:
jstoparczyk
2025-06-27 14:18:37 +02:00
parent 8212686c64
commit bf69b81b62
3 changed files with 7 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ script:pre-request {
docs {
# Wakapi basic API routes
Start by selecting an environment (there is a premade one called "prod") and configuring values for `BASE_URL` and `API_KEY` variables.
Start by selecting an environment (there is a premade one called "dev") and configuring your `API_KEY`.
For a complete list of API routes, refer to <https://wakapi.dev/swagger-ui>.
}

View File

@@ -0,0 +1,6 @@
vars {
BASE_URL: http://localhost:3000
}
vars:secret [
API_KEY
]

View File

@@ -1,4 +0,0 @@
vars:secret [
BASE_URL,
API_KEY
]