Commit dba844ed authored by Michel Roy's avatar Michel Roy

implicit naming

parent ffa8d711
Pipeline #5073 passed with stage
in 0 seconds
......@@ -52,14 +52,9 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"bwInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BwInfo"
}
}
"type": "array",
"items": {
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -90,12 +85,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -106,15 +96,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"bwInfo"
],
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -150,15 +132,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"bwInfo"
],
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -187,12 +161,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -208,15 +177,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"bwInfo"
],
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -248,12 +209,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"bwInfoDeltas": {
"$ref": "#/components/schemas/BwInfoDeltas"
}
}
"$ref": "#/components/schemas/BwInfoDeltas"
}
}
}
......@@ -269,15 +225,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"bwInfo"
],
"properties": {
"bwInfo": {
"$ref": "#/components/schemas/BwInfo"
}
}
"$ref": "#/components/schemas/BwInfo"
}
}
}
......@@ -330,14 +278,9 @@
"400": {
"description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -345,17 +288,9 @@
"403": {
"description": "Forbidden : operation is not allowed given the current status of the resource.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"required": [
"problemDetails"
],
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -363,14 +298,9 @@
"404": {
"description": "Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -378,14 +308,9 @@
"412": {
"description": "Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......
......@@ -37,12 +37,9 @@ paths:
content:
application/json:
schema:
type: object
properties:
bwInfo:
type: array
items:
$ref: "#/components/schemas/BwInfo"
type: array
items:
$ref: "#/components/schemas/BwInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -62,22 +59,14 @@ paths:
content:
application/json:
schema:
type: object
properties:
bwInfo:
$ref: '#/components/schemas/BwInfo'
$ref: '#/components/schemas/BwInfo'
responses:
201:
description: "Upon success, the HTTP response shall include a 'Location' HTTP header that contains the resource URI of the created resource."
content:
application/json:
schema:
type: object
required:
- bwInfo
properties:
bwInfo:
$ref: "#/components/schemas/BwInfo"
$ref: "#/components/schemas/BwInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -99,12 +88,7 @@ paths:
content:
application/json:
schema:
type: object
required:
- bwInfo
properties:
bwInfo:
$ref: "#/components/schemas/BwInfo"
$ref: "#/components/schemas/BwInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -123,10 +107,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
bwInfo:
$ref: '#/components/schemas/BwInfo'
$ref: '#/components/schemas/BwInfo'
parameters:
- $ref: '#/components/parameters/Path.allocationId'
responses:
......@@ -135,12 +116,7 @@ paths:
content:
application/json:
schema:
type: object
required:
- bwInfo
properties:
bwInfo:
$ref: "#/components/schemas/BwInfo"
$ref: "#/components/schemas/BwInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -161,10 +137,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
bwInfoDeltas:
$ref: '#/components/schemas/BwInfoDeltas'
$ref: '#/components/schemas/BwInfoDeltas'
parameters:
- $ref: '#/components/parameters/Path.allocationId'
responses:
......@@ -173,12 +146,7 @@ paths:
content:
application/json:
schema:
type: object
required:
- bwInfo
properties:
bwInfo:
$ref: "#/components/schemas/BwInfo"
$ref: "#/components/schemas/BwInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -209,42 +177,28 @@ components:
400:
description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
403:
description: 'Forbidden : operation is not allowed given the current status of the resource.'
content:
application/json:
application/problem+json:
schema:
type: object
required:
- problemDetails
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
404:
description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
412:
description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when
using ETags to avoid write conflicts when using PUT'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
parameters:
Path.allocationId:
name: allocationId
......
......@@ -42,12 +42,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsCapabilityInfo": {
"$ref": "#/components/schemas/MtsCapabilityInfo"
}
}
"$ref": "#/components/schemas/MtsCapabilityInfo"
}
}
}
......@@ -89,14 +84,9 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsSessionInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"type": "array",
"items": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -127,12 +117,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"MtsSessionInfo": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -143,12 +128,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsSessionInfo": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -184,12 +164,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsSessionInfo": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -223,12 +198,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsSessionInfo": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -239,12 +209,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mtsSessionInfo": {
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
"$ref": "#/components/schemas/MtsSessionInfo"
}
}
}
......@@ -297,14 +262,9 @@
"400": {
"description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -312,17 +272,9 @@
"403": {
"description": "Forbidden : operation is not allowed given the current status of the resource.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"required": [
"problemDetails"
],
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -330,14 +282,9 @@
"404": {
"description": "Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......@@ -345,14 +292,9 @@
"412": {
"description": "Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
"content": {
"application/json": {
"application/problem+json": {
"schema": {
"type": "object",
"properties": {
"problemDetails": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
......
......@@ -34,10 +34,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
mtsCapabilityInfo:
$ref: "#/components/schemas/MtsCapabilityInfo"
$ref: "#/components/schemas/MtsCapabilityInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -61,12 +58,9 @@ paths:
content:
application/json:
schema:
type: object
properties:
mtsSessionInfo:
type: array
items:
$ref: "#/components/schemas/MtsSessionInfo"
type: array
items:
$ref: "#/components/schemas/MtsSessionInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -86,20 +80,14 @@ paths:
content:
application/json:
schema:
type: object
properties:
MtsSessionInfo:
$ref: '#/components/schemas/MtsSessionInfo'
$ref: '#/components/schemas/MtsSessionInfo'
responses:
201:
description: "Upon success, the HTTP response shall include a 'Location' HTTP header that contains the resource URI of the created resource."
content:
application/json:
schema:
type: object
properties:
mtsSessionInfo:
$ref: "#/components/schemas/MtsSessionInfo"
$ref: "#/components/schemas/MtsSessionInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -121,10 +109,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
mtsSessionInfo:
$ref: "#/components/schemas/MtsSessionInfo"
$ref: "#/components/schemas/MtsSessionInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -145,20 +130,14 @@ paths:
content:
application/json:
schema:
type: object
properties:
mtsSessionInfo:
$ref: '#/components/schemas/MtsSessionInfo'
$ref: '#/components/schemas/MtsSessionInfo'
responses:
200:
description: "Used to indicate nonspecific success. The response body contains a representation of the resource."
content:
application/json:
schema:
type: object
properties:
mtsSessionInfo:
$ref: "#/components/schemas/MtsSessionInfo"
$ref: "#/components/schemas/MtsSessionInfo"
400:
$ref: "#/components/responses/400"
403:
......@@ -189,42 +168,28 @@ components:
400:
description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
403:
description: 'Forbidden : operation is not allowed given the current status of the resource.'
content:
application/json:
application/problem+json:
schema:
type: object
required:
- problemDetails
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
404:
description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
412:
description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when
using ETags to avoid write conflicts when using PUT'
content:
application/json:
application/problem+json:
schema:
type: object
properties:
problemDetails:
$ref: '#/components/schemas/ProblemDetails'
$ref: '#/components/schemas/ProblemDetails'
parameters:
Path.sessionId:
name: sessionId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment