Commit e87cb02b authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue #3

parent 39fd041f
Loading
Loading
Loading
Loading
Loading
+29 −2
Original line number Original line Diff line number Diff line
@@ -74,8 +74,8 @@ paths:
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Authorization"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/Authorization"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/filter"
        - $ref: "#/components/parameters/filter.Subscriptions"
        - $ref: "../components/SOL011_params.yaml#/components/parameters/nextpage_opaque_marker"
        - $ref: "#/components/parameters/nextpage_opaque_marker.Subscriptions"
      responses:
      responses:
        201:
        201:
          $ref: "#/components/responses/Subscriptions.Get.200"
          $ref: "#/components/responses/Subscriptions.Get.200"
@@ -250,6 +250,33 @@ components:
      schema:
      schema:
        $ref: '../components/SOL011_schemas.yaml#/components/schemas/Identifier'
        $ref: '../components/SOL011_schemas.yaml#/components/schemas/Identifier'


    filter.Subscriptions:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI
        GS NFV-SOL 013 [2].
        The NFVO-C shall support receiving this parameter as part of the URI query
        string. The NFVO-N may supply this parameter.
        All attribute names that appear in the NsInstanceUsageSubscription and in
        data types referenced from it shall be supported by the NFVO-C in the filter
        expression.
      in: query
      required: false
      schema:
        type: string

    nextpage_opaque_marker.Subscriptions:
      name: nextpage_opaque_marker
      description: >
        Marker to obtain the next page of a paged response. Shall be supported by
        the NFVO-C if the NFVO-C supports alternative 2 (paging) according to
        clause 5.4.2.1 of ETSI GS NFV-SOL 013 [2] for this resource
      in: query
      required: false
      schema:
        type: string


  requestBodies:
  requestBodies:
    NsInstanceUsageSubscriptionRequest:
    NsInstanceUsageSubscriptionRequest:
      description: 
      description: 
+0 −69
Original line number Original line Diff line number Diff line
@@ -35,72 +35,3 @@ components:
      required: true
      required: true
      schema:
      schema:
        type: string
        type: string

    filter:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI
        GS NFV-SOL 013. The NFV-MANO functional entity shall support
        receiving this parameter as part of the URI query string. The API
        consumer may supply this parameter. All attribute names that appear
        in the FmSubscription and in data types referenced from it shall be
        supported by the NFV-MANO functional entity in the filter
        expression.
      in: query
      required: false
      schema:
        type: string

    all_fields:
      name: all_fields
      description: >
        Include all complex attributes in the response. See clause 
        5.3 of ETSI GS NFV-SOL 013. The NFV-MANO functional entity 
        shall support this parameter.
      in: query
      required: false
      schema:
        type: string

    fields:
      name: fields
      description: >
        Complex attributes to be included into the response. See clause 
        5.3 of ETSI GS NFV-SOL 013 for details. The NFV-MANO functional 
        entity should support this parameter.
      in: query
      required: false
      schema:
        type: string

    exclude_fields:
      name: exclude_fields
      description: >
        Complex attributes to be excluded from the response. See clause 
        5.3 of ETSI GS NFV-SOL 013 for details. The NFV-MANO functional 
        entity should support this parameter.
      in: query
      required: false
      schema:
        type: string

    exclude_default:
      name: exclude_default
      in: query
      description: >-
        Indicates to exclude the following complex attributes from the response. See clause 5.3 of ETSI GS NFV-SOL 013
        for details. The NFV-MANO functional entity shall support this parameter.
      required: false
      schema:
        type: string

    nextpage_opaque_marker:
      name: nextpage_opaque_marker
      description: >
        Marker to obtain the next page of a paged response. Shall be supported by 
        the NFV-MANO functional entity if the entity supports alternative 2 (paging) 
        according to clause 5.4.2.1 of ETSI GS NFV-SOL 013 for this resource.
      in: query
      required: false
      schema:
        type: string