Created
October 16, 2017 08:36
-
-
Save Pchelolo/c2e4fc9cfda93b3e96de156b562ea3e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/{domain:en.wikipedia.org}: | |
paths: | |
/{api:sys}: | |
x-modules: | |
- spec: | |
paths: | |
/action: | |
x-modules: | |
- path: sys/action.js | |
options: | |
apiUriTemplate: "{{'https://{domain}/w/api.php'}}" | |
baseUriTemplate: "{{'https://{domain}:7231/{domain}/v1'}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That exact code didn't work but I could get it to work with some small changes: