Commit 0ca8f70c authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue #3

parent 68625d1f
Loading
Loading
Loading
Loading
Loading
+59 −4
Original line number Diff line number Diff line
@@ -78,8 +78,8 @@ paths:
        This method shall follow the provisions specified in the tables 5.5.3.3.2-1 and 5.5.3.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - $ref: "../components/SOL012_params.yaml#/components/parameters/filter"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/nextpage_opaque_marker"
        - $ref: "#/components/parameters/filter.Policies"
        - $ref: "#/components/parameters/nextpage_opaque_marker.Policies"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Authorization"
@@ -425,8 +425,8 @@ paths:
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/Authorization"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/filter"
        - $ref: "../components/SOL012_params.yaml#/components/parameters/nextpage_opaque_marker"
        - $ref: "#/components/parameters/filter.Subscriptions"
        - $ref: "#/components/parameters/nextpage_opaque_marker.Subscriptions"
      responses:
        "200":
          $ref: '#/components/responses/Subscriptions.Get.200'
@@ -562,6 +562,61 @@ components:
      schema:
        $ref: '../components/SOL012_schemas.yaml#/components/schemas/Identifier'

    filter.Policies:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI
        GS NFV-SOL 013 [7].
        The API producer 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 Policy and in data types
        referenced from it shall be supported by the API producer in the
        filter expression.
      in: query
      required: false
      schema:
        type: string

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

    filter.Subscriptions:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI
        GS NFV-SOL 013 [7].
        The API producer 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 PolicySubscription and in data types
        referenced from it shall be supported by the API producer 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 API producer if the API producer supports alternative 2 (paging)
        according to clause 5.4.2.1 of ETSI GS NFV-SOL 013 [7] for this
        resource.
      in: query
      required: false
      schema:
        type: string

  schemas:
    CreatePolicyRequest:
      description: >
+0 −67
Original line number Diff line number Diff line
@@ -36,71 +36,4 @@ components:
      schema:
        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