Skip to content

Commit b32d0a6

Browse files
author
Slavey Karadzhov
committed
Added missing librarySetDefault method. Related to zend-patterns/ZendServerSDK#62.
1 parent d3d847b commit b32d0a6

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

config/api/version-1.6.config.php

+17-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,23 @@
252252

253253
)
254254
),
255-
256-
255+
256+
'librarySetDefault' => array (
257+
'options' => array (
258+
'route' => 'librarySetDefault --libraryVersionId=',
259+
'defaults' => array (
260+
'controller' => 'webapi-api-controller',
261+
'action' => 'librarySetDefault',
262+
'apiMethod' => 'post'
263+
),
264+
'group' => 'library',
265+
'info' => array(
266+
'Change library version to be the default version for the library.',
267+
array('--libraryVersionId', 'A library version ID.'),
268+
)
269+
270+
)
271+
),
257272
)
258273
)
259274
)

0 commit comments

Comments
 (0)