1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
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
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
24 title: Anchor details by anchor Name
34 example: my_schema_set
45 example: Dataspace not found
48 example: Dataspace with name D1 does not exist.
57 description: multipartFile
59 example: http://example.com/examples/example.yang
63 title: Module reference object
67 example: module_reference_name
70 example: module_reference_namespace
73 example: module_reference_revision
77 title: Schema set details by dataspace and schemasetName
85 $ref: '#/components/schemas/ModuleReferences'
88 example: my_schema_set
94 description: dataspace-name
101 description: dataspace-name
108 description: anchor-name
112 schemaSetNameInQuery:
113 name: schema-set-name
115 description: schema-set-name
120 name: schema-set-name
122 description: schema-set-name
129 description: anchor-name
141 requiredXpathInQuery:
151 description: cps-path
156 includeDescendantsOptionInQuery:
157 name: include-descendants
159 description: include-descendants
164 observedTimestampInQuery:
165 name: observed-timestamp
167 description: observed-timestamp
171 example: '2021-03-21T00:10:34.030-0100'
175 description: The specified resource was not found
179 $ref: '#/components/schemas/ErrorMessage'
181 description: Unauthorized
185 $ref: '#/components/schemas/ErrorMessage'
187 description: Forbidden
191 $ref: '#/components/schemas/ErrorMessage'
193 description: Bad Request
197 $ref: '#/components/schemas/ErrorMessage'
199 description: Conflict
203 $ref: '#/components/schemas/ErrorMessage'
210 example: { "key": "value" }
218 description: No Content