Commit 772eccb2 authored by Gergely Csatari's avatar Gergely Csatari Committed by Michele Carignani
Browse files

Adding http response texts



This change adds the http response texts to the description of responses.
Fixes Bugzilla Bug#37.

Change-Id: Ia4a86e897d95ea132ddef998eac1f66207af7ce7
Signed-off-by: default avatarGergely Csatari <gergely.csatari@nokia.com>
parent ea179a9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,6 +46,6 @@ def jenkins_gerrit_comment(change_num, patch_num, comment):
    send_gerrit_comment(change_num+","+patch_num, comment)

def comment_openapis_artifacts(cn, pn, bu):
    comment = mk_swg_ui_comment("**/*-API.yaml", bu)
    comment = mk_swg_ui_comment("build/*-API.yaml", bu)
    # print "comment: "+comment
    jenkins_gerrit_comment(str(cn), str(pn), comment)
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ paths:
        responses:
          200:
            description: >
              OK

              Configuration information about a VNF instance was read successfully.
              The response body shall contain a representation of the configuration resource.
            schema:
@@ -69,6 +71,8 @@ paths:
        responses:
          200:
            description: >
              OK

              The request was accepted and completed. The response body shall contain the parameters
              of the configuration modification that was applied to the configuration resource.
            schema:
+2 −0
Original line number Diff line number Diff line
responses:
  409:
    description: >
      Conflict

      Another request is in progress that prohibits the fulfilment of
      the current request, or the current resource state is inconsistent
      with the request.
+14 −0
Original line number Diff line number Diff line
@@ -66,6 +66,8 @@ paths:
      responses:
        200:
          description: > 
            OK

            The request has succeeded.
            The response body shall contain the list of related alarms.
          headers:
@@ -145,6 +147,8 @@ paths:
      responses:
        200:
          description: > 
            OK

            Information about an individual alarm was read successfully.
            The response body shall contain a representation of the individual
            alarm.
@@ -214,6 +218,8 @@ paths:
      responses:
        200:
          description: > 
            OK

            The request was accepted and completed. The response body shall
            contain attribute modifications for an ‘Individual alarm’
            resource.
@@ -292,6 +298,8 @@ paths:
      responses:
        201:
          description: > 
            Created

            The subscription was created successfully. The response body shall
            contain a representation of the created subscription resource.
            The HTTP response shall include a "Location:" HTTP header that
@@ -363,6 +371,8 @@ paths:
      responses:
        200:
          description: > 
            OK

            The list of subscriptions was queried successfully. The response
            body shall contain the representations of all active
            subscriptions of the functional block that invokes the method.
@@ -445,6 +455,8 @@ paths:
      responses:
        200:
          description: > 
            OK

            The operation has completed successfully.
            The response body shall contain a representation of the
            subscription resource.
@@ -494,6 +506,8 @@ paths:
      responses:
        204:
          description: > 
            No Content

            The subscription resource was deleted successfully.
            The response body shall be empty.
          headers:
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@
responses:
  409-alarm-state-conflict:
    description: >
      Conflict

      The operation cannot be executed currently, due to a conflict with the
      state of the "Individual alarm" resource.
      Typically, this is due to the fact that the alarm is already in the
Loading