Merge pull request #54532 from nextcloud/fix/theming/manifest-not-found-response

pull/54338/head
Kate 2 months ago committed by GitHub
commit 357292f937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/theming/lib/Controller/ThemingController.php
  2. 4
      apps/theming/openapi.json
  3. 4
      openapi.json

@ -429,7 +429,7 @@ class ThemingController extends Controller {
*
* @param string $app ID of the app
* @psalm-suppress LessSpecificReturnStatement The content of the Manifest doesn't need to be described in the return type
* @return JSONResponse<Http::STATUS_OK, array{name: string, short_name: string, start_url: string, theme_color: string, background_color: string, description: string, icons: list<array{src: non-empty-string, type: string, sizes: string}>, display_override: list<string>, display: string}, array{}>|JSONResponse<Http::STATUS_NOT_FOUND, array{}, array{}>
* @return JSONResponse<Http::STATUS_OK, array{name: string, short_name: string, start_url: string, theme_color: string, background_color: string, description: string, icons: list<array{src: non-empty-string, type: string, sizes: string}>, display_override: list<string>, display: string}, array{}>|JSONResponse<Http::STATUS_NOT_FOUND, list<empty>, array{}>
*
* 200: Manifest returned
* 404: App not found

@ -410,9 +410,7 @@
"description": "App not found",
"content": {
"application/json": {
"schema": {
"type": "object"
}
"schema": {}
}
}
}

@ -28042,9 +28042,7 @@
"description": "App not found",
"content": {
"application/json": {
"schema": {
"type": "object"
}
"schema": {}
}
}
}

Loading…
Cancel
Save