Commit a06a6a3b authored by Michel Roy's avatar Michel Roy
Browse files

implicit naming

parent 688d2fb1
Loading
Loading
Loading
Loading
Loading
+38 −95
Original line number Diff line number Diff line
@@ -58,15 +58,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "applicationList": {
                  "$ref": "#/components/schemas/ApplicationList"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -97,15 +92,10 @@
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "appContext": {
                "$ref": "#/components/schemas/AppContext"
              }
            }
          }
            }
          }
        },
        "parameters": [],
        "responses": {
@@ -114,15 +104,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "appContext": {
                  "$ref": "#/components/schemas/AppContext"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -150,37 +135,14 @@
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "properties": {
                          "notification": {
                            "oneOf": [
                              {
                                "$ref": "#/components/schemas/AddressChangeNotification"
                              },
                              {
                                "$ref": "#/components/schemas/ApplicationContextDeleteNotification"
                              },
                              {
                                "$ref": "#/components/schemas/ApplicationContextUpdateNotification"
                              },
                              {
                                "$ref": "#/components/schemas/ApplicationLocationAvailabilityNotification"
                              }
                            ],
                            "discriminator": {
                              "propertyName": "notificationType"
                            }
                          }
                        "$ref": "#/components/schemas/InlineNotification"
                      },
                      "example": {
                          "notification": {
                        "notificationType": "ApplicationContextDeleteNotification",
                        "contextId": "contextId123"
                      }
                    }
                  }
                    }
                  }
                },
                "responses": {
                  "204": {
@@ -207,15 +169,10 @@
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "appContext": {
                "$ref": "#/components/schemas/AppContext"
              }
            }
          }
            }
          }
        },
        "parameters": [
          {
@@ -285,15 +242,10 @@
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "applicationLocationAvailability": {
                "$ref": "#/components/schemas/ApplicationLocationAvailability"
              }
            }
          }
            }
          }
        },
        "parameters": [],
        "responses": {
@@ -302,15 +254,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "applicationLocationAvailability": {
                  "$ref": "#/components/schemas/ApplicationLocationAvailability"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -336,66 +283,43 @@
      "400": {
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "401": {
        "description": "Unauthorized :  used when the client did not submit credentials.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "403": {
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "required": [
                "problemDetails"
              ],
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "404": {
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
      }
        }
      }
    },
    "parameters": {
      "Query.appName": {
@@ -999,6 +923,25 @@
        ],
        "x-etsi-ref": "6.4.5"
      },
      "InlineNotification": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/AddressChangeNotification"
          },
          {
            "$ref": "#/components/schemas/ApplicationContextDeleteNotification"
          },
          {
            "$ref": "#/components/schemas/ApplicationContextUpdateNotification"
          },
          {
            "$ref": "#/components/schemas/ApplicationLocationAvailabilityNotification"
          }
        ],
        "discriminator": {
          "propertyName": "notificationType"
        }
      },
      "LocationConstraints": {
        "properties": {
          "area": {
+26 −60
Original line number Diff line number Diff line
@@ -39,9 +39,6 @@ paths:
          content:
            application/json:
              schema:
                type: object
                properties:
                  applicationList:
                $ref: "#/components/schemas/ApplicationList"
        400:
          $ref: "#/components/responses/400"
@@ -64,9 +61,6 @@ paths:
        content:
          application/json:
            schema:
              type: object
              properties:
                appContext:
              $ref: '#/components/schemas/AppContext'
      parameters: []
      responses:
@@ -75,9 +69,6 @@ paths:
          content:
            application/json:
              schema:
                type: object
                properties:
                  appContext:
                $ref: "#/components/schemas/AppContext"
        400:
          $ref: '#/components/responses/400'
@@ -100,18 +91,8 @@ paths:
                content:
                  application/json:
                    schema:
                      type: object
                      properties:
                        notification:
                          oneOf:
                            - $ref: '#/components/schemas/AddressChangeNotification'
                            - $ref: '#/components/schemas/ApplicationContextDeleteNotification'
                            - $ref: '#/components/schemas/ApplicationContextUpdateNotification'
                            - $ref: '#/components/schemas/ApplicationLocationAvailabilityNotification'
                          discriminator:
                            propertyName: notificationType
                      $ref: '#/components/schemas/InlineNotification'
                    example:
                        notification:
                      notificationType: ApplicationContextDeleteNotification
                      contextId: 'contextId123'
              responses:
@@ -130,9 +111,6 @@ paths:
        content:
          application/json:
            schema:
              type: object
              properties:
                appContext:
              $ref: '#/components/schemas/AppContext'
      parameters:
      - $ref: '#/components/parameters/Path.contextId'
@@ -179,9 +157,6 @@ paths:
        content:
          application/json:
            schema:
              type: object
              properties:
                applicationLocationAvailability:
              $ref: '#/components/schemas/ApplicationLocationAvailability'
      parameters: []
      responses:
@@ -190,9 +165,6 @@ paths:
          content:
            application/json:
              schema:
                type: object
                properties:
                  applicationLocationAvailability:
                $ref: "#/components/schemas/ApplicationLocationAvailability"
        400:
          $ref: '#/components/responses/400'
@@ -209,40 +181,26 @@ components:
    400:
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      content:
        application/json:
        application/problem+json:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
    401:
      description: 'Unauthorized :  used when the client did not submit credentials.'
      content:
        application/json:
        application/problem+json:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
    403:
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      content:
        application/json:
        application/problem+json:
          schema:
            type: object
            required:
              - problemDetails
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
    404:
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      content:
        application/json:
        application/problem+json:
          schema:
            type: object
            properties:
              problemDetails:
            $ref: '#/components/schemas/ProblemDetails'
  parameters:
    Query.appName:
@@ -749,6 +707,14 @@ components:
      - notificationType
      - availableLocations
      x-etsi-ref: 6.4.5
    InlineNotification:
      oneOf:
        - $ref: '#/components/schemas/AddressChangeNotification'
        - $ref: '#/components/schemas/ApplicationContextDeleteNotification'
        - $ref: '#/components/schemas/ApplicationContextUpdateNotification'
        - $ref: '#/components/schemas/ApplicationLocationAvailabilityNotification'
      discriminator:
        propertyName: notificationType
    LocationConstraints:
      properties:
        area: