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

Added HTTP location header field to 201 post responses

parent 7770b926
Loading
Loading
Loading
Loading

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+10
Changes for Mp1.yaml: 10 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -321,6 +321,11 @@ paths:
      responses:
      responses:
        '201':
        '201':
          description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created.
          description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created.
          headers:
            location: 
              description: The resource URI of the created resource
              type: string
              format: uri
          schema:
          schema:
            type: object
            type: object
            properties:
            properties:
@@ -684,6 +689,11 @@ paths:
      responses:
      responses:
        '201':
        '201':
          description: 'Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.'
          description: 'Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.'
          headers:
            location: 
              description: The resource URI of the created resource
              type: string
              format: uri
          schema:
          schema:
            type: object
            type: object
            properties:
            properties:
+5
Changes for paths/ApplicationsSubscriptions.POST.yaml: 5 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -10,6 +10,11 @@ parameters:
responses:
responses:
  201:
  201:
    description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created. 
    description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created. 
    headers:
      location: 
        description: The resource URI of the created resource
        type: string
        format: uri
    schema:
    schema:
      type: object
      type: object
      properties:
      properties:
+5
Changes for paths/Services.POST.yaml: 5 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -8,6 +8,11 @@ parameters:
responses:
responses:
  201:
  201:
    description: Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.
    description: Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.
    headers:
      location: 
        description: The resource URI of the created resource
        type: string
        format: uri
    schema:
    schema:
      type: object
      type: object
      properties:
      properties: