on develop help sign in
Ensuring OAuth scopes are exported from the toc
c7608a3Brendan Hay
gen/template/toc.ede+7
@@ -14,6 +14,13 @@ module {{ moduleName }}
14 (
14 (
15 -- * Service Configuration
15 -- * Service Configuration
16 {{ api.url.name }}
16 {{ 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 %}
17
24
18 -- * API Declaration
25 -- * API Declaration
19 , {{ api.aliasName }}
26 , {{ api.aliasName }}