openapi: deduplicate parameter ids
This commit is contained in:
parent
7aaa89b69b
commit
7b343fc686
144
openapi.yaml
144
openapi.yaml
@ -78,12 +78,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -104,12 +99,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
- name: ModelID
|
- name: ModelID
|
||||||
in: query
|
in: query
|
||||||
required: true
|
required: true
|
||||||
@ -138,12 +128,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -160,12 +145,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -182,12 +162,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -204,12 +179,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -226,12 +196,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -248,12 +213,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -270,12 +230,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -292,12 +247,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -314,12 +264,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Submissions
|
- Submissions
|
||||||
parameters:
|
parameters:
|
||||||
- name: SubmissionID
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -388,12 +333,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- ScriptPolicy
|
- ScriptPolicy
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptPolicyID
|
- $ref: '#/components/parameters/ScriptPolicyID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -413,12 +353,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- ScriptPolicy
|
- ScriptPolicy
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptPolicyID
|
- $ref: '#/components/parameters/ScriptPolicyID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
@ -440,12 +375,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- ScriptPolicy
|
- ScriptPolicy
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptPolicyID
|
- $ref: '#/components/parameters/ScriptPolicyID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -487,12 +417,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Scripts
|
- Scripts
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptID
|
- $ref: '#/components/parameters/ScriptID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -512,12 +437,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Scripts
|
- Scripts
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptID
|
- $ref: '#/components/parameters/ScriptID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
@ -539,12 +459,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Scripts
|
- Scripts
|
||||||
parameters:
|
parameters:
|
||||||
- name: ScriptID
|
- $ref: '#/components/parameters/ScriptID'
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
@ -560,6 +475,31 @@ components:
|
|||||||
type: apiKey
|
type: apiKey
|
||||||
in: cookie
|
in: cookie
|
||||||
name: session_id
|
name: session_id
|
||||||
|
parameters:
|
||||||
|
SubmissionID:
|
||||||
|
name: SubmissionID
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The unique identifier for a submission.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
ScriptID:
|
||||||
|
name: ScriptID
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The unique identifier for a script.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
ScriptPolicyID:
|
||||||
|
name: ScriptPolicyID
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The unique identifier for a script policy.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
schemas:
|
schemas:
|
||||||
Id:
|
Id:
|
||||||
required:
|
required:
|
||||||
|
Loading…
Reference in New Issue
Block a user