chore: update openAPI files

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/53393/head
Ferdinand Thiessen 2025-06-09 17:39:23 +07:00
parent 495c364268
commit 96d423c8d3
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
8 changed files with 24 additions and 24 deletions

@ -1492,7 +1492,7 @@
}
},
{
"name": "X-NC-Preview",
"name": "x-nc-preview",
"in": "header",
"schema": {
"type": "string"

@ -256,7 +256,7 @@
},
"parameters": [
{
"name": "EX-APP-ID",
"name": "ex-app-id",
"in": "header",
"schema": {
"type": "string"
@ -556,7 +556,7 @@
}
},
{
"name": "EX-APP-ID",
"name": "ex-app-id",
"in": "header",
"schema": {
"type": "string"
@ -809,7 +809,7 @@
{
"name": "appid",
"in": "path",
"description": "id of the app, as in the EX-APP-ID for creation",
"description": "id of the app, as in the ex-app-id for creation",
"required": true,
"schema": {
"type": "string"

@ -1173,7 +1173,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"
@ -8066,7 +8066,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"

@ -1173,7 +1173,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"
@ -8066,7 +8066,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"

@ -4645,7 +4645,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"
@ -11585,7 +11585,7 @@
],
"parameters": [
{
"name": "USER_AGENT",
"name": "user-agent",
"in": "header",
"schema": {
"type": "string"
@ -19842,7 +19842,7 @@
}
},
{
"name": "X-NC-Preview",
"name": "x-nc-preview",
"in": "header",
"schema": {
"type": "string"
@ -30808,7 +30808,7 @@
},
"parameters": [
{
"name": "EX-APP-ID",
"name": "ex-app-id",
"in": "header",
"schema": {
"type": "string"
@ -31108,7 +31108,7 @@
}
},
{
"name": "EX-APP-ID",
"name": "ex-app-id",
"in": "header",
"schema": {
"type": "string"
@ -31361,7 +31361,7 @@
{
"name": "appid",
"in": "path",
"description": "id of the app, as in the EX-APP-ID for creation",
"description": "id of the app, as in the ex-app-id for creation",
"required": true,
"schema": {
"type": "string"

@ -123,7 +123,7 @@ class AppPasswordControllerTest extends TestCase {
$credentials->method('getLoginName')
->willReturn('myLoginName');
$this->request->method('getHeader')
->with('USER_AGENT')
->with('user-agent')
->willReturn('myUA');
$this->random->method('generate')
->with(
@ -164,7 +164,7 @@ class AppPasswordControllerTest extends TestCase {
$credentials->method('getLoginName')
->willReturn('myLoginName');
$this->request->method('getHeader')
->with('USER_AGENT')
->with('user-agent')
->willReturn('myUA');
$this->random->method('generate')
->with(

@ -119,7 +119,7 @@ class ClientFlowLoginControllerTest extends TestCase {
$this->request
->method('getHeader')
->willReturnMap([
['USER_AGENT', 'Mac OS X Sync Client'],
['user-agent', 'Mac OS X Sync Client'],
['OCS-APIREQUEST', 'true'],
]);
$this->random
@ -178,7 +178,7 @@ class ClientFlowLoginControllerTest extends TestCase {
$this->request
->method('getHeader')
->willReturnMap([
['USER_AGENT', 'Mac OS X Sync Client'],
['user-agent', 'Mac OS X Sync Client'],
['OCS-APIREQUEST', 'false'],
]);
$client = new Client();
@ -555,7 +555,7 @@ class ClientFlowLoginControllerTest extends TestCase {
[
['X-Forwarded-Proto', 'http'],
['X-Forwarded-Ssl', 'off'],
['USER_AGENT', ''],
['user-agent', ''],
],
'http',
'http',
@ -564,7 +564,7 @@ class ClientFlowLoginControllerTest extends TestCase {
[
['X-Forwarded-Proto', 'http'],
['X-Forwarded-Ssl', 'off'],
['USER_AGENT', ''],
['user-agent', ''],
],
'https',
'https',
@ -573,7 +573,7 @@ class ClientFlowLoginControllerTest extends TestCase {
[
['X-Forwarded-Proto', 'https'],
['X-Forwarded-Ssl', 'off'],
['USER_AGENT', ''],
['user-agent', ''],
],
'http',
'https',
@ -582,7 +582,7 @@ class ClientFlowLoginControllerTest extends TestCase {
[
['X-Forwarded-Proto', 'https'],
['X-Forwarded-Ssl', 'on'],
['USER_AGENT', ''],
['user-agent', ''],
],
'http',
'https',
@ -591,7 +591,7 @@ class ClientFlowLoginControllerTest extends TestCase {
[
['X-Forwarded-Proto', 'http'],
['X-Forwarded-Ssl', 'on'],
['USER_AGENT', ''],
['user-agent', ''],
],
'http',
'https',

@ -265,7 +265,7 @@ class PreviewControllerTest extends \Test\TestCase {
$this->request
->method('getHeader')
->with('X-NC-Preview')
->with('x-nc-preview')
->willReturn('true');
$preview = $this->createMock(ISimpleFile::class);