on develop help sign in
Ensuring OAuth scopes are exported from the toc
commitc7608a33921c436f58d1ca29e4c42403d6c3df2a authorBrendan Hay <brendan.g.hay@gmail.com> dateMon 26 Oct 2015, 12:22 (11 years ago) parent2affd92
1 file changed+7
gen/template/toc.ede+7
gen/template/toc.ede+7
@@ -14,6 +14,13 @@ module {{ moduleName }}
1414 (
1515 -- * Service Configuration
1616 {{ api.url.name }}
17+ {% for scope in api.scopes %}
18+ {% if scope.first %}
19+
20+ -- * OAuth Scopes
21+ {% endif %}
22+ , {{ scope.value.name }}
23+ {% endfor %}
1724
1825 -- * API Declaration
1926 , {{ api.aliasName }}