Commit f9172198 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

oAuth2Info is not a required parameter

parent fd097449
Loading
Loading
Loading
Loading
+104 −18
Original line number Original line Diff line number Diff line
@@ -92,17 +92,6 @@
      "required": true,
      "required": true,
      "type": "string"
      "type": "string"
    },
    },
    "Path.SubscriptionType": {
      "name": "subscriptionType",
      "description": "Represents a subscription type to the notifications from the mobile edge platform.",
      "in": "path",
      "required": true,
      "type": "string",
      "enum": [
        "AppTerminationNotificationSubscription",
        "SerAvailabilityNotificationSubscription"
      ]
    },
    "Path.ServiceId": {
    "Path.ServiceId": {
      "name": "serviceId",
      "name": "serviceId",
      "description": "Represents a mobile edge service instance.",
      "description": "Represents a mobile edge service instance.",
@@ -519,13 +508,113 @@
        }
        }
      }
      }
    },
    },
    "/applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}": {
    "/applications/{appInstanceId}/subscriptions/AppTerminationNotificationSubscription/{subscriptionId}": {
      "parameters": [
      "parameters": [
        {
        {
          "$ref": "#/parameters/Path.AppInstanceId"
          "$ref": "#/parameters/Path.AppInstanceId"
        },
        },
        {
        {
          "$ref": "#/parameters/Path.SubscriptionType"
          "$ref": "#/parameters/Path.SubscriptionId"
        }
      ],
      "get": {
        "description": "The GET method requests information about a subscription for this requestor. Upon success, the response contains entity body with the subscription for the requestor.",
        "operationId": "AppTerminationSubscription_GET",
        "produces": [
          "application/json"
        ],
        "responses": {
          "200": {
            "description": "Upon success, a response body containing the requested subscription is returned.",
            "schema": {
              "type": "object",
              "properties": {
                "AppTerminationNotificationSubscription": {
                  "$ref": "#/definitions/AppTerminationNotificationSubscription"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "required": [
                "ProblemDetails"
              ],
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "This method deletes a meMp1Subscription. This method is typically used in \"Unsubscribing from service availability event notifications\" procedure.",
        "operationId": "AppTerminationSubscription_DELETE",
        "produces": [
          "application/json"
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "required": [
                "ProblemDetails"
              ],
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/applications/{appInstanceId}/subscriptions/SerAvailabilityNotificationSubscription/{subscriptionId}": {
      "parameters": [
        {
          "$ref": "#/parameters/Path.AppInstanceId"
        },
        },
        {
        {
          "$ref": "#/parameters/Path.SubscriptionId"
          "$ref": "#/parameters/Path.SubscriptionId"
@@ -533,7 +622,7 @@
      ],
      ],
      "get": {
      "get": {
        "description": "The GET method requests information about a subscription for this requestor. Upon success, the response contains entity body with the subscription for the requestor.",
        "description": "The GET method requests information about a subscription for this requestor. Upon success, the response contains entity body with the subscription for the requestor.",
        "operationId": "ApplicationsSubscription_GET",
        "operationId": "SerAvailabilitySubscription_GET",
        "produces": [
        "produces": [
          "application/json"
          "application/json"
        ],
        ],
@@ -589,7 +678,7 @@
      },
      },
      "delete": {
      "delete": {
        "description": "This method deletes a meMp1Subscription. This method is typically used in \"Unsubscribing from service availability event notifications\" procedure.",
        "description": "This method deletes a meMp1Subscription. This method is typically used in \"Unsubscribing from service availability event notifications\" procedure.",
        "operationId": "ApplicationsSubscription_DELETE",
        "operationId": "SerAvailabilitySubscription_DELETE",
        "produces": [
        "produces": [
          "application/json"
          "application/json"
        ],
        ],
@@ -2006,9 +2095,6 @@
    "SecurityInfo": {
    "SecurityInfo": {
      "description": "This type represents security information related to a transport",
      "description": "This type represents security information related to a transport",
      "type": "object",
      "type": "object",
      "required": [
        "oAuth2Info"
      ],
      "properties": {
      "properties": {
        "oAuth2Info": {
        "oAuth2Info": {
          "$ref": "#/definitions/SecurityInfo.OAuth2Info"
          "$ref": "#/definitions/SecurityInfo.OAuth2Info"
+75 −17
Original line number Original line Diff line number Diff line
@@ -83,17 +83,6 @@ parameters:
    in: path
    in: path
    required: true
    required: true
    type: string
    type: string
  Path.SubscriptionType:
    name: subscriptionType
    description: >-
      Represents a subscription type to the notifications from the mobile edge
      platform.
    in: path
    required: true
    type: string
    enum:
    - AppTerminationNotificationSubscription
    - SerAvailabilityNotificationSubscription
  Path.ServiceId:
  Path.ServiceId:
    name: serviceId
    name: serviceId
    description: Represents a mobile edge service instance.
    description: Represents a mobile edge service instance.
@@ -397,17 +386,88 @@ paths:
            properties:
            properties:
              ProblemDetails:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
                $ref: '#/definitions/ProblemDetails'
  '/applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}':
  '/applications/{appInstanceId}/subscriptions/AppTerminationNotificationSubscription/{subscriptionId}':
    parameters:
      - $ref: '#/parameters/Path.AppInstanceId'
      - $ref: '#/parameters/Path.SubscriptionId'
    get:
      description: >-
        The GET method requests information about a subscription for this
        requestor. Upon success, the response contains entity body with the
        subscription for the requestor.
      operationId: AppTerminationSubscription_GET
      produces:
        - application/json
      responses:
        '200':
          description: >-
            Upon success, a response body containing the requested subscription
            is returned.
          schema:
            type: object
            properties:
              AppTerminationNotificationSubscription:
                $ref: '#/definitions/AppTerminationNotificationSubscription'
        '400':
          description: Bad Request
          schema:
            type: object
            properties:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
        '403':
          description: Forbidden
          schema:
            type: object
            required:
              - ProblemDetails
            properties:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
        '404':
          description: Not Found
          schema:
            type: object
            properties:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
    delete:
      description: >-
        This method deletes a meMp1Subscription. This method is typically used
        in "Unsubscribing from service availability event notifications"
        procedure.
      operationId: AppTerminationSubscription_DELETE
      produces:
        - application/json
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
          schema:
            type: object
            required:
              - ProblemDetails
            properties:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
        '404':
          description: Not Found
          schema:
            type: object
            properties:
              ProblemDetails:
                $ref: '#/definitions/ProblemDetails'
  '/applications/{appInstanceId}/subscriptions/SerAvailabilityNotificationSubscription/{subscriptionId}':
    parameters:
    parameters:
      - $ref: '#/parameters/Path.AppInstanceId'
      - $ref: '#/parameters/Path.AppInstanceId'
      - $ref: '#/parameters/Path.SubscriptionType'
      - $ref: '#/parameters/Path.SubscriptionId'
      - $ref: '#/parameters/Path.SubscriptionId'
    get:
    get:
      description: >-
      description: >-
        The GET method requests information about a subscription for this
        The GET method requests information about a subscription for this
        requestor. Upon success, the response contains entity body with the
        requestor. Upon success, the response contains entity body with the
        subscription for the requestor.
        subscription for the requestor.
      operationId: ApplicationsSubscription_GET
      operationId: SerAvailabilitySubscription_GET
      produces:
      produces:
        - application/json
        - application/json
      responses:
      responses:
@@ -448,7 +508,7 @@ paths:
        This method deletes a meMp1Subscription. This method is typically used
        This method deletes a meMp1Subscription. This method is typically used
        in "Unsubscribing from service availability event notifications"
        in "Unsubscribing from service availability event notifications"
        procedure.
        procedure.
      operationId: ApplicationsSubscription_DELETE
      operationId: SerAvailabilitySubscription_DELETE
      produces:
      produces:
        - application/json
        - application/json
      responses:
      responses:
@@ -1473,8 +1533,6 @@ definitions:
  SecurityInfo:
  SecurityInfo:
    description: This type represents security information related to a transport
    description: This type represents security information related to a transport
    type: object
    type: object
    required:
      - oAuth2Info
    properties:
    properties:
      oAuth2Info:
      oAuth2Info:
        $ref: '#/definitions/SecurityInfo.OAuth2Info'
        $ref: '#/definitions/SecurityInfo.OAuth2Info'