Swagr code-gen: Reading baseurl, apikey and apiList resource from config and creating resource list from response of apiList resource

This commit is contained in:
Deepak Michael
2011-07-21 09:36:09 +05:30
parent 7adc4e32fd
commit 4e7fdd9e5c
4 changed files with 146 additions and 42 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<apiConfig>
<apiUrl>
http://swagr.api.wordnik.com/v4/
</apiUrl>
<apiKey>
myKey
</apiKey>
<apiListResource>
/list
</apiListResource>
</apiConfig>