Skip to content

Commit

Permalink
Merge pull request #1303 from nextcloud/chore/deps/openapi-extractor
Browse files Browse the repository at this point in the history
chore(deps): Update openapi-extractor to v1.0.0
  • Loading branch information
juliusknorr authored Aug 21, 2024
2 parents 99ec734 + 465a214 commit ea822f8
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 197 deletions.
160 changes: 70 additions & 90 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2745,24 +2745,6 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"viewId": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "View ID"
}
}
}
}
}
},
"parameters": [
{
"name": "tableId",
Expand All @@ -2773,6 +2755,16 @@
"type": "integer",
"format": "int64"
}
},
{
"name": "viewId",
"in": "query",
"description": "View ID",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
}
],
"responses": {
Expand Down Expand Up @@ -3795,30 +3787,6 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Limit"
},
"offset": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Offset"
}
}
}
}
}
},
"parameters": [
{
"name": "tableId",
Expand All @@ -3829,6 +3797,26 @@
"type": "integer",
"format": "int64"
}
},
{
"name": "limit",
"in": "query",
"description": "Limit",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
{
"name": "offset",
"in": "query",
"description": "Offset",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
}
],
"responses": {
Expand Down Expand Up @@ -3914,30 +3902,6 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Limit"
},
"offset": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Offset"
}
}
}
}
}
},
"parameters": [
{
"name": "tableId",
Expand All @@ -3948,6 +3912,26 @@
"type": "integer",
"format": "int64"
}
},
{
"name": "limit",
"in": "query",
"description": "Limit",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
{
"name": "offset",
"in": "query",
"description": "Offset",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
}
],
"responses": {
Expand Down Expand Up @@ -4134,30 +4118,6 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Limit"
},
"offset": {
"type": "integer",
"format": "int64",
"nullable": true,
"description": "Offset"
}
}
}
}
}
},
"parameters": [
{
"name": "viewId",
Expand All @@ -4168,6 +4128,26 @@
"type": "integer",
"format": "int64"
}
},
{
"name": "limit",
"in": "query",
"description": "Limit",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
{
"name": "offset",
"in": "query",
"description": "Offset",
"schema": {
"type": "integer",
"format": "int64",
"nullable": true
}
}
],
"responses": {
Expand Down
89 changes: 26 additions & 63 deletions src/types/openapi/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2060,25 +2060,18 @@ export interface operations {
};
readonly "api1-index-table-columns": {
readonly parameters: {
readonly query?: never;
readonly query?: {
/** @description View ID */
readonly viewId?: number | null;
};
readonly header?: never;
readonly path: {
/** @description Table ID */
readonly tableId: number;
};
readonly cookie?: never;
};
readonly requestBody?: {
readonly content: {
readonly "application/json": {
/**
* Format: int64
* @description View ID
*/
readonly viewId?: number | null;
};
};
};
readonly requestBody?: never;
readonly responses: {
/** @description View deleted */
readonly 200: {
Expand Down Expand Up @@ -2670,30 +2663,20 @@ export interface operations {
};
readonly "api1-index-table-rows-simple": {
readonly parameters: {
readonly query?: never;
readonly query?: {
/** @description Limit */
readonly limit?: number | null;
/** @description Offset */
readonly offset?: number | null;
};
readonly header?: never;
readonly path: {
/** @description Table ID */
readonly tableId: number;
};
readonly cookie?: never;
};
readonly requestBody?: {
readonly content: {
readonly "application/json": {
/**
* Format: int64
* @description Limit
*/
readonly limit?: number | null;
/**
* Format: int64
* @description Offset
*/
readonly offset?: number | null;
};
};
};
readonly requestBody?: never;
readonly responses: {
/** @description Row values returned */
readonly 200: {
Expand Down Expand Up @@ -2740,30 +2723,20 @@ export interface operations {
};
readonly "api1-index-table-rows": {
readonly parameters: {
readonly query?: never;
readonly query?: {
/** @description Limit */
readonly limit?: number | null;
/** @description Offset */
readonly offset?: number | null;
};
readonly header?: never;
readonly path: {
/** @description Table ID */
readonly tableId: number;
};
readonly cookie?: never;
};
readonly requestBody?: {
readonly content: {
readonly "application/json": {
/**
* Format: int64
* @description Limit
*/
readonly limit?: number | null;
/**
* Format: int64
* @description Offset
*/
readonly offset?: number | null;
};
};
};
readonly requestBody?: never;
readonly responses: {
/** @description Rows returned */
readonly 200: {
Expand Down Expand Up @@ -2863,30 +2836,20 @@ export interface operations {
};
readonly "api1-index-view-rows": {
readonly parameters: {
readonly query?: never;
readonly query?: {
/** @description Limit */
readonly limit?: number | null;
/** @description Offset */
readonly offset?: number | null;
};
readonly header?: never;
readonly path: {
/** @description View ID */
readonly viewId: number;
};
readonly cookie?: never;
};
readonly requestBody?: {
readonly content: {
readonly "application/json": {
/**
* Format: int64
* @description Limit
*/
readonly limit?: number | null;
/**
* Format: int64
* @description Offset
*/
readonly offset?: number | null;
};
};
};
readonly requestBody?: never;
readonly responses: {
/** @description Rows returned */
readonly 200: {
Expand Down
9 changes: 1 addition & 8 deletions vendor-bin/openapi-extractor/composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"minimum-stability": "dev",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/nextcloud/openapi-extractor"
}
],
"require-dev": {
"nextcloud/openapi-extractor": "dev-main"
"nextcloud/openapi-extractor": "^1.0.0"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit ea822f8

Please sign in to comment.