forked from loafle/openapi-generator-original
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:
13
code-gen/conf/apiConfig.xml
Normal file
13
code-gen/conf/apiConfig.xml
Normal 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>
|
||||
Reference in New Issue
Block a user