mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
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:
@@ -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>.
|
||||
}
|
||||
|
||||
6
bruno/environments/dev.bru
Normal file
6
bruno/environments/dev.bru
Normal file
@@ -0,0 +1,6 @@
|
||||
vars {
|
||||
BASE_URL: http://localhost:3000
|
||||
}
|
||||
vars:secret [
|
||||
API_KEY
|
||||
]
|
||||
@@ -1,4 +0,0 @@
|
||||
vars:secret [
|
||||
BASE_URL,
|
||||
API_KEY
|
||||
]
|
||||
Reference in New Issue
Block a user