Skip to content

Commit bf337a5

Browse files
committed
Fix TPRs security
1 parent e7a257a commit bf337a5

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

scripts/thirdpartypaths.json

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
"/apis/{fqdn}/v1/{resource}": {
33
"get": {
44
"operationId": "listThirdPartyResource",
5-
"security": [
6-
{
7-
"Bearer": [
8-
9-
]
10-
}
11-
],
125
"summary": "Gets Resources",
136
"description": "Returns a list of Resources",
147
"tags": [
@@ -50,13 +43,6 @@
5043
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": {
5144
"post": {
5245
"operationId": "createThirdPartyResource",
53-
"security": [
54-
{
55-
"Bearer": [
56-
57-
]
58-
}
59-
],
6046
"summary": "Create a Resource",
6147
"description": "Creates a third party resource of the type specified",
6248
"tags": [
@@ -107,13 +93,6 @@
10793
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": {
10894
"get": {
10995
"operationId": "getThirdPartyResource",
110-
"security": [
111-
{
112-
"Bearer": [
113-
114-
]
115-
}
116-
],
11796
"summary": "Gets a specific Resource",
11897
"description": "Returns a specific Resource in a namespace",
11998
"tags": [
@@ -160,13 +139,6 @@
160139
},
161140
"delete": {
162141
"operationId": "deleteThirdPartyResource",
163-
"security": [
164-
{
165-
"Bearer": [
166-
167-
]
168-
}
169-
],
170142
"summary": "Deletes a specific Resource",
171143
"description": "Deletes the specified Resource in the specified namespace",
172144
"tags": [
@@ -214,13 +186,6 @@
214186
},
215187
"put": {
216188
"operationId": "updateThirdPartyResource",
217-
"security": [
218-
{
219-
"Bearer": [
220-
221-
]
222-
}
223-
],
224189
"summary": "Update a Resource",
225190
"description": "Update the specified third party resource of the type specified",
226191
"tags": [
@@ -268,4 +233,4 @@
268233
}
269234
}
270235
}
271-
}
236+
}

0 commit comments

Comments
 (0)