Uh oh!
There was an error while loading. Please reload this page.
cloud_federation_api: Introduce OpenAPI spec - #36356
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
65e8e58 to
8ec7eecCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8ec7eec to
23f5f78Compare23f5f78 to
14c9c4fCompareUh oh!
There was an error while loading. Please reload this page.
14c9c4f to
f836c7cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f836c7c to
0a29f3bCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
40c8398 to
cc06bb5Comparecc06bb5 to
6d44de2Compare| * Example: curl -H "Content-Type: application/json" -X POST -d '{"shareWith":"admin1@serve1","name":"welcome server2.txt","description":"desc","providerId":"2","owner":"admin2@http://localhost/server2","ownerDisplayName":"admin2 display","shareType":"user","resourceType":"file","protocol":{"name":"webdav","options":{"sharedSecret":"secret","permissions":"webdav-property"}}}' http://localhost/server/index.php/ocm/shares | ||
| */ | ||
| public function addShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $protocol, $shareType, $resourceType) { | ||
| public function addShare(string $shareWith, string $name, ?string $description, string $providerId, string $owner, ?string $ownerDisplayName, ?string $sharedBy, ?string $sharedByDisplayName, array $protocol, string $shareType, string $resourceType): JSONResponse { |
Check failure
Code scanning / Psalm
InvalidDocblock
| $providerId === null || | ||
| !is_array($notification) | ||
| ) { | ||
| if ($providerId === null || !is_array($notification)) { |
Check failure
Code scanning / Psalm
InvalidDocblock
1a874a9 to
1219a04CompareSigned-off-by: jld3103 <jld3103yt@gmail.com>
1219a04 to
c5650b7Compare
Summary
Adapts the code to make it friendly for https://github.com/nextcloud-gmbh/openapi-extractor and add the automatically generated spec.
TODO
Checklist