diff --git a/assets/openapi.json b/assets/openapi.json
index 2afc2170..0b326c88 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -6031,6 +6031,14 @@
"username"
]
},
+ "RelationshipPatchSchema": {
+ "type": "object",
+ "properties": {
+ "nickname": {
+ "type": "string"
+ }
+ }
+ },
"RelationshipPutSchema": {
"type": "object",
"properties": {
@@ -14304,6 +14312,62 @@
"users"
]
},
+ "patch": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RelationshipPatchSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": [
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "users"
+ ]
+ },
"delete": {
"security": [
{
diff --git a/assets/schemas.json b/assets/schemas.json
index 7aebefe5..3d734edf 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -6404,6 +6404,16 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
+ "RelationshipPatchSchema": {
+ "type": "object",
+ "properties": {
+ "nickname": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
"RelationshipPutSchema": {
"type": "object",
"properties": {
|