Commit dba844ed authored by Michel Roy's avatar Michel Roy
Browse files

implicit naming

parent ffa8d711
Loading
Loading
Loading
Loading
Loading
+18 −93
Original line number Original line Diff line number Diff line
@@ -52,9 +52,6 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bwInfo": {
                  "type": "array",
                  "type": "array",
                  "items": {
                  "items": {
                    "$ref": "#/components/schemas/BwInfo"
                    "$ref": "#/components/schemas/BwInfo"
@@ -62,8 +59,6 @@
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -90,15 +85,10 @@
          "content": {
          "content": {
            "application/json": {
            "application/json": {
              "schema": {
              "schema": {
                "type": "object",
                "properties": {
                  "bwInfo": {
                "$ref": "#/components/schemas/BwInfo"
                "$ref": "#/components/schemas/BwInfo"
              }
              }
            }
            }
          }
          }
            }
          }
        },
        },
        "responses": {
        "responses": {
          "201": {
          "201": {
@@ -106,18 +96,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bwInfo"
                  ],
                  "properties": {
                    "bwInfo": {
                  "$ref": "#/components/schemas/BwInfo"
                  "$ref": "#/components/schemas/BwInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -150,18 +132,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bwInfo"
                  ],
                  "properties": {
                    "bwInfo": {
                  "$ref": "#/components/schemas/BwInfo"
                  "$ref": "#/components/schemas/BwInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -187,15 +161,10 @@
          "content": {
          "content": {
            "application/json": {
            "application/json": {
              "schema": {
              "schema": {
                "type": "object",
                "properties": {
                  "bwInfo": {
                "$ref": "#/components/schemas/BwInfo"
                "$ref": "#/components/schemas/BwInfo"
              }
              }
            }
            }
          }
          }
            }
          }
        },
        },
        "parameters": [
        "parameters": [
          {
          {
@@ -208,18 +177,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bwInfo"
                  ],
                  "properties": {
                    "bwInfo": {
                  "$ref": "#/components/schemas/BwInfo"
                  "$ref": "#/components/schemas/BwInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -248,15 +209,10 @@
          "content": {
          "content": {
            "application/json": {
            "application/json": {
              "schema": {
              "schema": {
                "type": "object",
                "properties": {
                  "bwInfoDeltas": {
                "$ref": "#/components/schemas/BwInfoDeltas"
                "$ref": "#/components/schemas/BwInfoDeltas"
              }
              }
            }
            }
          }
          }
            }
          }
        },
        },
        "parameters": [
        "parameters": [
          {
          {
@@ -269,18 +225,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bwInfo"
                  ],
                  "properties": {
                    "bwInfo": {
                  "$ref": "#/components/schemas/BwInfo"
                  "$ref": "#/components/schemas/BwInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -330,66 +278,43 @@
      "400": {
      "400": {
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "403": {
      "403": {
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "required": [
                "problemDetails"
              ],
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "404": {
      "404": {
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "412": {
      "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",
        "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": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
      }
      }
        }
      }
    },
    },
    "parameters": {
    "parameters": {
      "Path.allocationId": {
      "Path.allocationId": {
+18 −64
Original line number Original line Diff line number Diff line
@@ -37,9 +37,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  bwInfo:
                type: array
                type: array
                items:
                items:
                  $ref: "#/components/schemas/BwInfo"
                  $ref: "#/components/schemas/BwInfo"
@@ -62,9 +59,6 @@ paths:
        content:
        content:
          application/json:
          application/json:
            schema:
            schema:
              type: object
              properties:
                bwInfo:
              $ref: '#/components/schemas/BwInfo'
              $ref: '#/components/schemas/BwInfo'
      responses:
      responses:
        201:
        201:
@@ -72,11 +66,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                required:
                - bwInfo
                properties:
                  bwInfo:
                $ref: "#/components/schemas/BwInfo"
                $ref: "#/components/schemas/BwInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -99,11 +88,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                required:
                  - bwInfo
                properties:
                  bwInfo:
                $ref: "#/components/schemas/BwInfo"
                $ref: "#/components/schemas/BwInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -123,9 +107,6 @@ paths:
        content:
        content:
          application/json:
          application/json:
            schema:
            schema:
              type: object
              properties:
                bwInfo:
              $ref: '#/components/schemas/BwInfo'
              $ref: '#/components/schemas/BwInfo'
      parameters:
      parameters:
        - $ref: '#/components/parameters/Path.allocationId'
        - $ref: '#/components/parameters/Path.allocationId'
@@ -135,11 +116,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                required:
                - bwInfo
                properties:
                  bwInfo:
                $ref: "#/components/schemas/BwInfo"
                $ref: "#/components/schemas/BwInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -161,9 +137,6 @@ paths:
        content:
        content:
          application/json:
          application/json:
            schema:
            schema:
              type: object
              properties:
                bwInfoDeltas:
              $ref: '#/components/schemas/BwInfoDeltas'
              $ref: '#/components/schemas/BwInfoDeltas'
      parameters:
      parameters:
        - $ref: '#/components/parameters/Path.allocationId'
        - $ref: '#/components/parameters/Path.allocationId'
@@ -173,11 +146,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                required:
                - bwInfo
                properties:
                  bwInfo:
                $ref: "#/components/schemas/BwInfo"
                $ref: "#/components/schemas/BwInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -209,41 +177,27 @@ components:
    400:
    400:
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    403:
    403:
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            required:
              - problemDetails
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    404:
    404:
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    412:
    412:
      description: 'Precondition failed :  used when a condition has failed during conditional requests, e.g. when
      description: 'Precondition failed :  used when a condition has failed during conditional requests, e.g. when
        using ETags to avoid write conflicts when using PUT'
        using ETags to avoid write conflicts when using PUT'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
  parameters:
  parameters:
    Path.allocationId:
    Path.allocationId:
+17 −75
Original line number Original line Diff line number Diff line
@@ -42,15 +42,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mtsCapabilityInfo": {
                  "$ref": "#/components/schemas/MtsCapabilityInfo"
                  "$ref": "#/components/schemas/MtsCapabilityInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -89,9 +84,6 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mtsSessionInfo": {
                  "type": "array",
                  "type": "array",
                  "items": {
                  "items": {
                    "$ref": "#/components/schemas/MtsSessionInfo"
                    "$ref": "#/components/schemas/MtsSessionInfo"
@@ -99,8 +91,6 @@
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -127,15 +117,10 @@
          "content": {
          "content": {
            "application/json": {
            "application/json": {
              "schema": {
              "schema": {
                "type": "object",
                "properties": {
                  "MtsSessionInfo": {
                "$ref": "#/components/schemas/MtsSessionInfo"
                "$ref": "#/components/schemas/MtsSessionInfo"
              }
              }
            }
            }
          }
          }
            }
          }
        },
        },
        "responses": {
        "responses": {
          "201": {
          "201": {
@@ -143,15 +128,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mtsSessionInfo": {
                  "$ref": "#/components/schemas/MtsSessionInfo"
                  "$ref": "#/components/schemas/MtsSessionInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -184,15 +164,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mtsSessionInfo": {
                  "$ref": "#/components/schemas/MtsSessionInfo"
                  "$ref": "#/components/schemas/MtsSessionInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -223,15 +198,10 @@
          "content": {
          "content": {
            "application/json": {
            "application/json": {
              "schema": {
              "schema": {
                "type": "object",
                "properties": {
                  "mtsSessionInfo": {
                "$ref": "#/components/schemas/MtsSessionInfo"
                "$ref": "#/components/schemas/MtsSessionInfo"
              }
              }
            }
            }
          }
          }
            }
          }
        },
        },
        "responses": {
        "responses": {
          "200": {
          "200": {
@@ -239,15 +209,10 @@
            "content": {
            "content": {
              "application/json": {
              "application/json": {
                "schema": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mtsSessionInfo": {
                  "$ref": "#/components/schemas/MtsSessionInfo"
                  "$ref": "#/components/schemas/MtsSessionInfo"
                }
                }
              }
              }
            }
            }
              }
            }
          },
          },
          "400": {
          "400": {
            "$ref": "#/components/responses/400"
            "$ref": "#/components/responses/400"
@@ -297,66 +262,43 @@
      "400": {
      "400": {
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "403": {
      "403": {
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "required": [
                "problemDetails"
              ],
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "404": {
      "404": {
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "content": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
          }
        }
      },
      },
      "412": {
      "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",
        "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": {
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
              "$ref": "#/components/schemas/ProblemDetails"
            }
            }
          }
          }
        }
        }
      }
      }
        }
      }
    },
    },
    "parameters": {
    "parameters": {
      "Path.sessionId": {
      "Path.sessionId": {
+17 −52
Original line number Original line Diff line number Diff line
@@ -34,9 +34,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  mtsCapabilityInfo:
                $ref: "#/components/schemas/MtsCapabilityInfo"
                $ref: "#/components/schemas/MtsCapabilityInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -61,9 +58,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  mtsSessionInfo:
                type: array
                type: array
                items:
                items:
                  $ref: "#/components/schemas/MtsSessionInfo"
                  $ref: "#/components/schemas/MtsSessionInfo"
@@ -86,9 +80,6 @@ paths:
        content:
        content:
          application/json:
          application/json:
            schema:
            schema:
              type: object
              properties:
                MtsSessionInfo:
              $ref: '#/components/schemas/MtsSessionInfo'
              $ref: '#/components/schemas/MtsSessionInfo'
      responses:
      responses:
        201:
        201:
@@ -96,9 +87,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  mtsSessionInfo:
                $ref: "#/components/schemas/MtsSessionInfo"
                $ref: "#/components/schemas/MtsSessionInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -121,9 +109,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  mtsSessionInfo:
                $ref: "#/components/schemas/MtsSessionInfo"
                $ref: "#/components/schemas/MtsSessionInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -145,9 +130,6 @@ paths:
        content:
        content:
          application/json:
          application/json:
            schema:
            schema:
              type: object
              properties:
                mtsSessionInfo:
              $ref: '#/components/schemas/MtsSessionInfo'
              $ref: '#/components/schemas/MtsSessionInfo'
      responses:
      responses:
        200:
        200:
@@ -155,9 +137,6 @@ paths:
          content:
          content:
            application/json:
            application/json:
              schema:
              schema:
                type: object
                properties:
                  mtsSessionInfo:
                $ref: "#/components/schemas/MtsSessionInfo"
                $ref: "#/components/schemas/MtsSessionInfo"
        400:
        400:
          $ref: "#/components/responses/400"
          $ref: "#/components/responses/400"
@@ -189,41 +168,27 @@ components:
    400:
    400:
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    403:
    403:
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            required:
              - problemDetails
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    404:
    404:
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
    412:
    412:
      description: 'Precondition failed :  used when a condition has failed during conditional requests, e.g. when
      description: 'Precondition failed :  used when a condition has failed during conditional requests, e.g. when
        using ETags to avoid write conflicts when using PUT'
        using ETags to avoid write conflicts when using PUT'
      content:
      content:
        application/json:
        application/problem+json:
          schema:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
            $ref: '#/components/schemas/ProblemDetails'
  parameters:
  parameters:
    Path.sessionId:
    Path.sessionId: