Commit 42ac1f22 authored by Yuya Kuno's avatar Yuya Kuno
Browse files

Edit IntentManagement.yaml

parent abd72c4d
Loading
Loading
Loading
Loading
Loading
+23 −23
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: "./components/SOL021_params.yaml#/components/schemas/Intent"
              $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
        required: true
      responses:
        "201":
@@ -32,19 +32,19 @@ paths:
          content:
            application/json:
              schema:
                $ref: "./components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
        "400":
          $ref: "./responses/SOL021_resp.yaml#/responses/400"
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
          $ref: "./responses/SOL021_resp.yaml#/responses/404"
          $ref: "../responses/SOL021_resp.yaml#/responses/404"
    get:
      description: The GET method queries information about multiple NFV intents.
      parameters:
        - $ref: "./components/SOL021_params.yaml#/components/parameters/Filter"
        - $ref: "./components/SOL021_params.yaml#/components/parameters/AllFields"
        - $ref: "./components/SOL021_params.yaml#/components/parameters/Fields"
        - $ref: "./components/SOL021_params.yaml#/components/parameters/ExcludeFields"
        - $ref: "./components/SOL021_params.yaml#/components/parameters/NextPage"
        - $ref: "../components/SOL021_params.yaml#/components/parameters/Filter"
        - $ref: "../components/SOL021_params.yaml#/components/parameters/AllFields"
        - $ref: "../components/SOL021_params.yaml#/components/parameters/Fields"
        - $ref: "../components/SOL021_params.yaml#/components/parameters/ExcludeFields"
        - $ref: "../components/SOL021_params.yaml#/components/parameters/NextPage"
      responses:
        "200":
          description: Successful query of the intents.
@@ -53,14 +53,14 @@ paths:
              schema:
                type: array
                items:
                  $ref: "./components/SOL021_params.yaml#/components/schemas/Intent"
                  $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
        "400":
          $ref: "./responses/SOL021_resp.yaml#/responses/400"
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
          $ref: "./responses/SOL021_resp.yaml#/responses/404"
          $ref: "../responses/SOL021_resp.yaml#/responses/404"
  "/intents/{intentId}":
    parameters:
      - $ref: "./components/SOL021_params.yaml#/components/parameters/IntentId"
      - $ref: "../components/SOL021_params.yaml#/components/parameters/IntentId"
    get:
      description: The GET method queries information about an NFV intent.
      responses:
@@ -69,11 +69,11 @@ paths:
          content:
            application/json:
              schema:
                $ref: "./components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
        "400":
          $ref: "./responses/SOL021_resp.yaml#/responses/400"
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
          $ref: "./responses/SOL021_resp.yaml#/responses/404"
          $ref: "../responses/SOL021_resp.yaml#/responses/404"
    patch:
      description: The PATCH method modifies an intent.
      requestBody:
@@ -81,7 +81,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: "./components/SOL021_params.yaml#/components/schemas/IntentModifications"
              $ref: "../components/SOL021_params.yaml#/components/schemas/IntentModifications"
        required: true
      responses:
        "200":
@@ -89,19 +89,19 @@ paths:
          content:
            application/json:
              schema:
                $ref: "./components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
        "400":
          $ref: "./responses/SOL021_resp.yaml#/responses/400"
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
          $ref: "./responses/SOL021_resp.yaml#/responses/404"
          $ref: "../responses/SOL021_resp.yaml#/responses/404"
        "412":
          $ref: "./responses/SOL021_resp.yaml#/responses/412"
          $ref: "../responses/SOL021_resp.yaml#/responses/412"
        "422":
          $ref: "./responses/SOL021_resp.yaml#/responses/422"
          $ref: "../responses/SOL021_resp.yaml#/responses/422"
    delete:
      description: The DELETE method deletes an individual intent.
      responses:
        "204":
          description: Successful deletion of the intent.
        "404":
          $ref: "./responses/SOL021_resp.yaml#/responses/404"
          $ref: "../responses/SOL021_resp.yaml#/responses/404"