Commit c6c51c50 authored by Yuya Kuno's avatar Yuya Kuno
Browse files

Edit SOL021_resp.yaml

parent 9978a817
Loading
Loading
Loading
Loading
Loading
+30 −30
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  303:
    description: >
@@ -66,7 +66,7 @@ responses:
          minimum: 1

  400:
    description: >
    description: |
      400 BAD REQUEST

      400 code can be returned in the following specified cases, the specific cause has to be proper specified in the
@@ -119,10 +119,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  401:
    description: >
    description: |
      401 UNAUTHORIZED

      If the request contains no access token even though one is required, or if the request contains an authorization
@@ -155,10 +155,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  403:
    description: >
    description: |
      403 FORBIDDEN

      If the API consumer is not allowed to perform a particular request to a particular resource,
@@ -191,10 +191,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  404:
    description: >
    description: |
      404 NOT FOUND

      If the API producer did not find a current representation for the resource addressed by the URI passed
@@ -232,10 +232,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  405:
    description: >
    description: |
      405 METHOD NOT ALLOWED

      If a particular HTTP method is not supported for a particular resource, the API producer shall respond
@@ -266,10 +266,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  406:
    description: >
    description: |
      406 NOT ACCEPTABLE

      If the "Accept" HTTP header does not contain at least one name of a content type
@@ -301,7 +301,7 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  409:
    description: >
@@ -332,7 +332,7 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  412:
    description: >
@@ -368,10 +368,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  413:
    description: >
    description: |
      413 PAYLOAD TOO LARGE

      If the payload body of a request is larger than the amount of data the API producer is willing or able to process,
@@ -403,10 +403,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  414:
    description: >
    description: |
      414 URI TOO LONG

      If the request URI of a request is longer than the API producer is willing or able to process,
@@ -438,7 +438,7 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  416:
    description: >
@@ -469,10 +469,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  422:
    description: >
    description: |
      422 UNPROCESSABLE ENTITY

      If the payload body of a request contains syntactically correct data (e.g. well-formed JSON) but the data
@@ -507,10 +507,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  429:
    description: >
    description: |
      429 TOO MANY REQUESTS

      If the API consumer has sent too many requests in a defined period of time and the API producer is able
@@ -547,10 +547,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  500:
    description: >
    description: |
      500 INTERNAL SERVER ERROR

      If there is an application error not related to the client's input that cannot be easily mapped to any other
@@ -583,10 +583,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  503:
    description: >
    description: |
      503 SERVICE UNAVAILABLE

      If the API producer encounters an internal overload situation of itself or of a system it relies on,
@@ -619,10 +619,10 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails

  504:
    description: >
    description: |
      504 GATEWAY TIMEOUT

      If the API producer encounters a timeout while waiting for a response from an upstream server
@@ -654,4 +654,4 @@ responses:
    content:
      application/json:
        schema:
          $ref: "../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails"
 No newline at end of file
          $ref: ../definitions/SOL021_def.yaml#/definitions/schemas/ProblemDetails
 No newline at end of file