Skip to content

Commit c8b6b13

Browse files
Update generate_snippets.py
Enable snippets for new scopes.
1 parent ff7b506 commit c8b6b13

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

generator/generate_snippets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
dashboard = meraki.DashboardAPI(API_KEY)
1515
{{ parameter_assignments }}
16-
response = dashboard.{{ section }}.{{ operation}}({{ parameters }})
16+
response = dashboard.{{ section }}.{{ operation }}({{ parameters }})
1717
1818
print(response)
1919
''')
@@ -156,8 +156,8 @@ def main():
156156
spec = requests.get('https://api.meraki.com/api/v1/openapiSpec').json()
157157

158158
# Supported scopes list will include organizations, networks, devices, and all product types.
159-
supported_scopes = ['organizations', 'networks', 'devices', 'appliance', 'camera', 'cellularGateway', 'insight',
160-
'sm', 'switch', 'wireless', 'sensor']
159+
supported_scopes = ['administered', 'organizations', 'networks', 'devices', 'appliance', 'camera', 'cellularGateway', 'insight',
160+
'sm', 'switch', 'wireless', 'sensor', 'licensing', 'secureConnect']
161161
# legacy scopes = ['organizations', 'networks', 'devices',
162162
# 'appliance', 'camera', 'cellularGateway', 'insight', 'sm', 'switch', 'wireless']
163163
tags = spec['tags']

0 commit comments

Comments
 (0)