Commit 93b1f7ca authored by Michel Roy's avatar Michel Roy
Browse files

implicit naming

parent d2defb66
Loading
Loading
Loading
Loading
Loading
+301 −555
Original line number Diff line number Diff line
@@ -79,15 +79,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rabInfo": {
                  "$ref": "#/components/schemas/RabInfo"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -130,9 +125,6 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "plmnInfo": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlmnInfo"
@@ -140,8 +132,6 @@
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -202,18 +192,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "s1BearerInfo"
                  ],
                  "properties": {
                    "s1BearerInfo": {
                  "$ref": "#/components/schemas/S1BearerInfo"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -370,18 +352,10 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "l2Meas"
                  ],
                  "properties": {
                    "l2Meas": {
                  "$ref": "#/components/schemas/L2Meas"
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -427,18 +401,9 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subscriptionLinkList"
                  ],
                  "properties": {
                    "subscriptionLinkList": {
                  "$ref": "#/components/schemas/SubscriptionLinkList"
                    }
                  }
                },
                "example": {
                  "subscriptionLinkList": {
                  "_links": {
                    "self": {
                      "href": "http://meAppServer.example.com/rni/v2/subscriptions"
@@ -458,7 +423,6 @@
                }
              }
            }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -494,45 +458,9 @@
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "notificationSubscription": {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/CellChangeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabEstSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabModSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabRelSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/MeasRepUeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/NrMeasRepUeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/MeasTaSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/CaReconfSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/S1BearerSubscription"
                      }
                    ],
                    "discriminator": {
                      "propertyName": "subscriptionType"
                    }
                  }
                "$ref": "#/components/schemas/InlineSubscription"
              },
              "example": {
                  "notificationSubscription": {
                "subscriptionType": "CellChangeSubscription",
                "callbackReference": "http://my.callback.com/rni-cell-change/some-id",
                "filterCriteriaAssocHo": {
@@ -564,8 +492,6 @@
              }
            }
          }
            }
          }
        },
        "responses": {
          "201": {
@@ -573,45 +499,9 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "notificationSubscription": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/CellChangeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabEstSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabModSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabRelSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/NrMeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasTaSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/CaReconfSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/S1BearerSubscription"
                        }
                      ],
                      "discriminator": {
                        "propertyName": "subscriptionType"
                      }
                    }
                  "$ref": "#/components/schemas/InlineSubscription"
                },
                "example": {
                    "notificationSubscription": {
                  "subscriptionType": "CellChangeSubscription",
                  "callbackReference": "http://my.callback.com/rni-cell-change/some-id",
                  "_links": {
@@ -648,8 +538,6 @@
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -689,45 +577,9 @@
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "properties": {
                          "notification": {
                            "oneOf": [
                              {
                                "$ref": "#/components/schemas/CellChangeNotification"
                              },
                              {
                                "$ref": "#/components/schemas/RabEstNotification"
                              },
                              {
                                "$ref": "#/components/schemas/RabModNotification"
                              },
                              {
                                "$ref": "#/components/schemas/RabRelNotification"
                              },
                              {
                                "$ref": "#/components/schemas/MeasRepUeNotification"
                              },
                              {
                                "$ref": "#/components/schemas/NrMeasRepUeNotification"
                              },
                              {
                                "$ref": "#/components/schemas/MeasTaNotification"
                              },
                              {
                                "$ref": "#/components/schemas/CaReconfNotification"
                              },
                              {
                                "$ref": "#/components/schemas/S1BearerNotification"
                              }
                            ],
                            "discriminator": {
                              "propertyName": "notificationType"
                            }
                          }
                        "$ref": "#/components/schemas/InlineNotification"
                      },
                      "example": {
                          "notification": {
                        "notificationType": "CellChangeNotification",
                        "associateId": [
                          {
@@ -761,8 +613,6 @@
                      }
                    }
                  }
                    }
                  }
                },
                "responses": {
                  "204": {
@@ -795,48 +645,9 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "notificationSubscription"
                  ],
                  "properties": {
                    "notificationSubscription": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/CellChangeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabEstSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabModSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabRelSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/NrMeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasTaSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/CaReconfSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/S1BearerSubscription"
                        }
                      ],
                      "discriminator": {
                        "propertyName": "subscriptionType"
                      }
                    }
                  "$ref": "#/components/schemas/InlineSubscription"
                },
                "example": {
                    "notificationSubscription": {
                  "subscriptionType": "CellChangeSubscription",
                  "callbackReference": "http://my.callback.com/rni-cell-change/some-id",
                  "_links": {
@@ -873,8 +684,6 @@
                }
              }
            }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -910,45 +719,9 @@
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "notificationSubscription": {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/CellChangeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabEstSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabModSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/RabRelSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/MeasRepUeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/NrMeasRepUeSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/MeasTaSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/CaReconfSubscription"
                      },
                      {
                        "$ref": "#/components/schemas/S1BearerSubscription"
                      }
                    ],
                    "discriminator": {
                      "propertyName": "subscriptionType"
                    }
                  }
                "$ref": "#/components/schemas/InlineSubscription"
              },
              "example": {
                  "notificationSubscription": {
                "subscriptionType": "CellChangeSubscription",
                "callbackReference": "http://my.callback.com/rni-cell-change/some-id",
                "_links": {
@@ -985,8 +758,6 @@
              }
            }
          }
            }
          }
        },
        "parameters": [
          {
@@ -999,46 +770,9 @@
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "notificationSubscription": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/CellChangeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabEstSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabModSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/RabRelSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/NrMeasRepUeSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/MeasTaSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/CaReconfSubscription"
                        },
                        {
                          "$ref": "#/components/schemas/S1BearerSubscription"
                        }
                      ],
                      "discriminator": {
                        "propertyName": "subscriptionType"
                      }
                    }
                  }
                  "$ref": "#/components/schemas/InlineSubscription"
                },
                "example": {
                  "notificationSubscription": {
                  "subscriptionType": "CellChangeSubscription",
                  "callbackReference": "http://my.callback.com/rni-cell-change/some-id",
                  "_links": {
@@ -1075,7 +809,6 @@
                }
              }
            }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
@@ -1145,141 +878,92 @@
      "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"
            }
          }
        }
          }
        }
      },
      "406": {
        "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "412": {
        "description": "Precondition failed :  used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "414": {
        "description": "URI Too Long : used to indicate that the server is refusing to process the request because the request URI is longer than the server is willing or able to process.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "415": {
        "description": "Unsupported Media Type :  used to indicate that the server or the client does not support the content type of the entity body.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
          }
        }
      },
      "422": {
        "description": "Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "example": {
              "application/problem+json": {
                "problemDetails": {
                "type": "https://meAppServer.example.com/rni/v2/probs/too-many targets",
                "title": "Too many targets",
                "status": "422",
@@ -1289,23 +973,17 @@
            }
          }
        }
        }
      },
      "429": {
        "description": "Too Many Requests : used when a rate limiter has triggered.",
        "content": {
          "application/json": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "problemDetails": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        }
      }
        }
      }
    },
    "parameters": {
      "Path.subscrId": {
@@ -4826,6 +4504,74 @@
          31
        ],
        "type": "integer"
      },
      "InlineSubscription": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CellChangeSubscription"
          },
          {
            "$ref": "#/components/schemas/RabEstSubscription"
          },
          {
            "$ref": "#/components/schemas/RabModSubscription"
          },
          {
            "$ref": "#/components/schemas/RabRelSubscription"
          },
          {
            "$ref": "#/components/schemas/MeasRepUeSubscription"
          },
          {
            "$ref": "#/components/schemas/NrMeasRepUeSubscription"
          },
          {
            "$ref": "#/components/schemas/MeasTaSubscription"
          },
          {
            "$ref": "#/components/schemas/CaReconfSubscription"
          },
          {
            "$ref": "#/components/schemas/S1BearerSubscription"
          }
        ],
        "discriminator": {
          "propertyName": "subscriptionType"
        }
      },
      "InlineNotification": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CellChangeNotification"
          },
          {
            "$ref": "#/components/schemas/RabEstNotification"
          },
          {
            "$ref": "#/components/schemas/RabModNotification"
          },
          {
            "$ref": "#/components/schemas/RabRelNotification"
          },
          {
            "$ref": "#/components/schemas/MeasRepUeNotification"
          },
          {
            "$ref": "#/components/schemas/NrMeasRepUeNotification"
          },
          {
            "$ref": "#/components/schemas/MeasTaNotification"
          },
          {
            "$ref": "#/components/schemas/CaReconfNotification"
          },
          {
            "$ref": "#/components/schemas/S1BearerNotification"
          }
        ],
        "discriminator": {
          "propertyName": "notificationType"
        }
      }
    }
  }
+201 −322

File changed.

Preview size limit exceeded, changes collapsed.

+2 −13
Original line number Diff line number Diff line
@@ -14,19 +14,8 @@ models/cell_change_subscription_filter_criteria_assoc_ho.proto
models/ecgi.proto
models/expiry_notification.proto
models/expiry_notification_links.proto
models/inline_object.proto
models/inline_object1.proto
models/inline_object2.proto
models/inline_response200.proto
models/inline_response2001.proto
models/inline_response2002.proto
models/inline_response2003.proto
models/inline_response2004.proto
models/inline_response2005.proto
models/inline_response2006.proto
models/inline_response201.proto
models/inline_response400.proto
models/inline_response403.proto
models/inline_notification.proto
models/inline_subscription.proto
models/l2_meas.proto
models/l2_meas_cell_info.proto
models/l2_meas_cell_ue_info.proto
+37 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 012 - Radio Network Information API

  The ETSI MEC ISG MEC012 Radio Network Information API described using OpenAPI.

  The version of the OpenAPI document: 2.1.1

  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec012;

import public "models/cell_change_notification.proto";
import public "models/rab_est_notification.proto";
import public "models/rab_mod_notification.proto";
import public "models/rab_rel_notification.proto";
import public "models/meas_rep_ue_notification.proto";
import public "models/nr_meas_rep_ue_notification.proto";
import public "models/meas_ta_notification.proto";
import public "models/ca_reconf_notification.proto";
import public "models/s1_bearer_notification.proto";

message InlineNotification {
  oneof notification {
    CellChangeNotification cellChangeNotification = 1;
    RabEstNotification rabEstNotification = 2;
    RabModNotification RabModNotification = 3;
    RabRelNotification RabRelNotification = 4;
    MeasRepUeNotification MeasRepUeNotification = 5;
    NrMeasRepUeNotification NrMeasRepUeNotification = 6;
    MeasTaNotification MeasTaNotification = 7;
    CaReconfNotification CaReconfNotification = 8;
    S1BearerNotification S1BearerNotification = 9;
  }
}

proto3/models/inline_object.proto

deleted100644 → 0
+0 −37

File deleted.

Preview size limit exceeded, changes collapsed.

Loading