Skip to content

Commit f361fed

Browse files
OAS Update
1 parent 4b57bca commit f361fed

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

services/observability/v1/observability.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,18 @@
637637
],
638638
"type": "object"
639639
},
640+
"CreateCredentialsPayload": {
641+
"description": "Create new credentials with (optional) description",
642+
"properties": {
643+
"description": {
644+
"description": "description",
645+
"maxLength": 1000,
646+
"minLength": 1,
647+
"type": "string"
648+
}
649+
},
650+
"type": "object"
651+
},
640652
"CreateCredentialsResponse": {
641653
"properties": {
642654
"credentials": {
@@ -1103,6 +1115,12 @@
11031115
},
11041116
"Credentials": {
11051117
"properties": {
1118+
"description": {
1119+
"maxLength": 1000,
1120+
"minLength": 1,
1121+
"title": "Description",
1122+
"type": "string"
1123+
},
11061124
"password": {
11071125
"minLength": 1,
11081126
"title": "Password",
@@ -2899,6 +2917,12 @@
28992917
"title": "Credentialsinfo",
29002918
"type": "object"
29012919
},
2920+
"description": {
2921+
"maxLength": 1000,
2922+
"minLength": 1,
2923+
"title": "Description",
2924+
"type": "string"
2925+
},
29022926
"id": {
29032927
"maxLength": 200,
29042928
"minLength": 1,
@@ -7503,6 +7527,7 @@
75037527
"credentials": [
75047528
{
75057529
"credentialsInfo": {
7530+
"description": "description",
75067531
"username": "test"
75077532
},
75087533
"id": "test",
@@ -7562,12 +7587,22 @@
75627587
}
75637588
}
75647589
],
7590+
"requestBody": {
7591+
"content": {
7592+
"application/json": {
7593+
"schema": {
7594+
"$ref": "#/components/schemas/CreateCredentialsPayload"
7595+
}
7596+
}
7597+
}
7598+
},
75657599
"responses": {
75667600
"201": {
75677601
"content": {
75687602
"application/json": {
75697603
"example": {
75707604
"credentials": {
7605+
"description": "description",
75717606
"password": "1fasAELDB234ddeDAfdasfel787oplpj",
75727607
"username": "test"
75737608
},
@@ -7580,6 +7615,19 @@
75807615
},
75817616
"description": "The technical credentials were successfully created."
75827617
},
7618+
"400": {
7619+
"content": {
7620+
"application/json": {
7621+
"example": {
7622+
"message": "Description must not exceed 1000 characters."
7623+
},
7624+
"schema": {
7625+
"$ref": "#/components/schemas/Error"
7626+
}
7627+
}
7628+
},
7629+
"description": "Provided description must not exceed 1000 characters."
7630+
},
75837631
"403": {
75847632
"content": {
75857633
"application/json": {
@@ -7732,6 +7780,7 @@
77327780
"application/json": {
77337781
"example": {
77347782
"credentialsInfo": {
7783+
"description": "description",
77357784
"username": "testing_9449de83-64ac-45dc-9967-e7c75bbdca70_4d92d3d9-d5c2-4c0b-98ad-950878101d9e"
77367785
},
77377786
"id": "testing_9449de83-64ac-45dc-9967-e7c75bbdca70_4d92d3d9-d5c2-4c0b-98ad-950878101d9e",

0 commit comments

Comments
 (0)