Skip to content

Commit

Permalink
Making the base url parameterized
Browse files Browse the repository at this point in the history
  • Loading branch information
boazhuisman committed Mar 24, 2020
1 parent dfa5f43 commit 66ba464
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 8 additions & 2 deletions spec/wfs1.0.0.json
Expand Up @@ -1218,8 +1218,14 @@
},
"servers": [
{
"url": "/bgt/oaf/v1_0",
"description": "Production server"
"url": "/{type}/oaf/v1_0",
"description": "Production server",
"variables" : {
"type" : {
"default" : "bgt",
"description" : "Different types of the WFS may be launched, i.e. bgt or bgt-hist."
}
}
}
],
"tags": [
Expand Down
6 changes: 5 additions & 1 deletion spec/wfs1.0.0.yml
Expand Up @@ -21,8 +21,12 @@ info:
name: CC-BY 4.0 license
url: 'https://creativecommons.org/licenses/by/4.0/'
servers:
- url: '/bgt/oaf/v1_0'
- url: '/{type}/oaf/v1_0'
description: Production server
variables:
type:
default: bgt
description: Different types of the WFS may be launched, i.e. bgt or bgt-hist.
tags:
- name: Capabilities
description: |-
Expand Down

0 comments on commit 66ba464

Please sign in to comment.