1 # ============LICENSE_START=======================================================
2 # Copyright © 2021 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
19 title: O-RAN OAM Adopter PM Manager
20 description: API for O-RAN OAM Adopter PM Manager service.
24 url: "http://www.apache.org/licenses/LICENSE-2.0"
27 - url: https://example.io/v1
37 summary: Read all adapters host address
38 description: Returns a list of adapters host address
39 operationId: getAllAdapters
42 description: Successfully returned a list of adapters host address
50 $ref: '#/components/responses/BadRequest'
52 $ref: '#/components/responses/Unauthorized'
58 description: Delete an adapter by host address
59 operationId: removeAdapter
69 $ref: '#/components/responses/Success'
71 $ref: '#/components/responses/BadRequest'
73 $ref: '#/components/responses/Unauthorized'
75 $ref: '#/components/responses/NotFound'
81 description: create an adapter instance
82 operationId: addAdapter
88 $ref: '#/components/schemas/Adapter'
91 $ref: '#/components/responses/Success'
93 $ref: '#/components/responses/BadRequest'
95 $ref: '#/components/responses/Unauthorized'
129 description: Succesfully excecuted
131 description: Invalid request
135 $ref: '#/components/schemas/ErrorMessage'
137 description: Unhautorized request
141 $ref: '#/components/schemas/ErrorMessage'
143 description: Not Found
147 $ref: '#/components/schemas/ErrorMessage'