openapi: public endpoints use cookieAuth by default
This commit is contained in:
parent
cd9bb17370
commit
7a30dc4ec3
44
openapi.yaml
44
openapi.yaml
@ -12,6 +12,8 @@ tags:
|
|||||||
description: Script operations
|
description: Script operations
|
||||||
- name: ScriptPolicy
|
- name: ScriptPolicy
|
||||||
description: Script policy operations
|
description: Script policy operations
|
||||||
|
security:
|
||||||
|
- cookieAuth: []
|
||||||
paths:
|
paths:
|
||||||
/submissions:
|
/submissions:
|
||||||
get:
|
get:
|
||||||
@ -32,8 +34,6 @@ paths:
|
|||||||
$ref: "#/components/schemas/Pagination"
|
$ref: "#/components/schemas/Pagination"
|
||||||
Filter:
|
Filter:
|
||||||
$ref: "#/components/schemas/SubmissionFilter"
|
$ref: "#/components/schemas/SubmissionFilter"
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -60,8 +60,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/SubmissionCreate'
|
$ref: '#/components/schemas/SubmissionCreate'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -83,8 +81,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -118,8 +114,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -137,8 +131,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -156,8 +148,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -175,8 +165,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -194,8 +182,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -213,8 +199,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -232,8 +216,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -251,8 +233,6 @@ paths:
|
|||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -281,8 +261,6 @@ paths:
|
|||||||
$ref: "#/components/schemas/Pagination"
|
$ref: "#/components/schemas/Pagination"
|
||||||
Filter:
|
Filter:
|
||||||
$ref: "#/components/schemas/ScriptPolicyFilter"
|
$ref: "#/components/schemas/ScriptPolicyFilter"
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -309,8 +287,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ScriptPolicyCreate'
|
$ref: '#/components/schemas/ScriptPolicyCreate'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -338,8 +314,6 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
minLength: 16
|
minLength: 16
|
||||||
maxLength: 16
|
maxLength: 16
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -361,8 +335,6 @@ paths:
|
|||||||
- ScriptPolicy
|
- ScriptPolicy
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/ScriptPolicyID'
|
- $ref: '#/components/parameters/ScriptPolicyID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -389,8 +361,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ScriptPolicyUpdate'
|
$ref: '#/components/schemas/ScriptPolicyUpdate'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -407,8 +377,6 @@ paths:
|
|||||||
- ScriptPolicy
|
- ScriptPolicy
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/ScriptPolicyID'
|
- $ref: '#/components/parameters/ScriptPolicyID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -430,8 +398,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ScriptCreate'
|
$ref: '#/components/schemas/ScriptCreate'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -453,8 +419,6 @@ paths:
|
|||||||
- Scripts
|
- Scripts
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/ScriptID'
|
- $ref: '#/components/parameters/ScriptID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -481,8 +445,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ScriptUpdate'
|
$ref: '#/components/schemas/ScriptUpdate'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -499,8 +461,6 @@ paths:
|
|||||||
- Scripts
|
- Scripts
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/ScriptID'
|
- $ref: '#/components/parameters/ScriptID'
|
||||||
security:
|
|
||||||
- cookieAuth: []
|
|
||||||
responses:
|
responses:
|
||||||
"204":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
|
Loading…
Reference in New Issue
Block a user