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

implicit naming

parent d2defb66
Pipeline #5071 passed with stage
in 0 seconds
This diff is collapsed.
......@@ -42,9 +42,6 @@ paths:
content:
application/json:
schema:
type: object
properties:
rabInfo:
$ref: '#/components/schemas/RabInfo'
'400':
$ref: '#/components/responses/400'
......@@ -74,9 +71,6 @@ paths:
content:
application/json:
schema:
type: "object"
properties:
plmnInfo:
type: "array"
items:
$ref: '#/components/schemas/PlmnInfo'
......@@ -114,11 +108,6 @@ paths:
content:
application/json:
schema:
type: "object"
required:
- "s1BearerInfo"
properties:
s1BearerInfo:
$ref: '#/components/schemas/S1BearerInfo'
'400':
$ref: '#/components/responses/400'
......@@ -186,11 +175,6 @@ paths:
content:
application/json:
schema:
type: "object"
required:
- "l2Meas"
properties:
l2Meas:
$ref: '#/components/schemas/L2Meas'
'400':
$ref: '#/components/responses/400'
......@@ -222,14 +206,8 @@ paths:
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'
......@@ -264,23 +242,8 @@ paths:
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:
......@@ -305,23 +268,8 @@ paths:
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:
......@@ -372,23 +320,8 @@ paths:
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:
- type: 1
......@@ -429,25 +362,8 @@ paths:
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:
......@@ -494,23 +410,8 @@ paths:
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:
......@@ -540,23 +441,8 @@ paths:
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:
......@@ -622,78 +508,52 @@ 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'
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
......@@ -701,15 +561,11 @@ components:
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'
......@@ -718,11 +574,8 @@ components:
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:
......@@ -3715,3 +3568,29 @@ components:
- 30
- 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
......@@ -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
......
/*
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;
}
}
/*
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_subscription.proto";
import public "models/rab_est_subscription.proto";
import public "models/rab_mod_subscription.proto";
import public "models/rab_rel_subscription.proto";
import public "models/meas_rep_ue_subscription.proto";
import public "models/meas_ta_subscription.proto";
import public "models/ca_reconf_subscription.proto";
import public "models/s1_bearer_subscription.proto";
import public "models/nr_meas_rep_ue_subscription.proto";
message InlineObject {
oneof subscription {
CellChangeSubscription cellChangeSubscription = 1;
RabEstSubscription rabEstSubscription = 2;
RabModSubscription rabModSubscription = 3;
RabRelSubscription rabRelSubscription = 4;
MeasRepUeSubscription measRepUeSubscription = 5;
MeasTaSubscription measTaSubscription = 6;
CaReconfSubscription caReconfSubscription = 7;
S1BearerSubscription s1BearerSubscription = 8;
NrMeasRepUeSubscription nrMeasRepUeSubscription = 9;
}
}
/*
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_subscription.proto";
import public "models/rab_est_subscription.proto";
import public "models/rab_mod_subscription.proto";
import public "models/rab_rel_subscription.proto";
import public "models/meas_rep_ue_subscription.proto";
import public "models/meas_ta_subscription.proto";
import public "models/ca_reconf_subscription.proto";
import public "models/s1_bearer_subscription.proto";
import public "models/nr_meas_rep_ue_subscription.proto";
message InlineObject2 {
oneof subscription {
CellChangeSubscription cellChangeSubscription = 1;
RabEstSubscription rabEstSubscription = 2;
RabModSubscription rabModSubscription = 3;
RabRelSubscription rabRelSubscription = 4;
MeasRepUeSubscription measRepUeSubscription = 5;
MeasTaSubscription measTaSubscription = 6;
CaReconfSubscription caReconfSubscription = 7;
S1BearerSubscription s1BearerSubscription = 8;
NrMeasRepUeSubscription nrMeasRepUeSubscription = 9;
}
}
/*
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/rab_info.proto";
message InlineResponse200 {
RabInfo rabInfo = 1;
}
/*
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/plmn_info.proto";
message InlineResponse2001 {
repeated PlmnInfo plmnInfo = 1;
}
/*
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/s1_bearer_info.proto";
message InlineResponse2002 {
S1BearerInfo s1BearerInfo = 1;
}
/*
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/l2_meas.proto";
message InlineResponse2003 {
L2Meas l2Meas = 1;
}
/*
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/subscription_link_list.proto";
message InlineResponse2004 {
SubscriptionLinkList subscriptionLinkList = 1;
}
/*
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_subscription.proto";
import public "models/rab_est_subscription.proto";
import public "models/rab_mod_subscription.proto";
import public "models/rab_rel_subscription.proto";
import public "models/meas_rep_