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.
15 # ============LICENSE_END=========================================================
22 title: Anchor details by anchor Name
32 example: my_schema_set
43 example: Dataspace not found
46 example: Dataspace with name D1 does not exist.
54 description: multipartFile
56 example: http://example.com/examples/example.yang
60 title: Module reference object
64 example: module_reference_name
67 example: module_reference_namespace
70 example: module_reference_revision
74 title: Schema set details by dataspace and schemasetName
82 $ref: '#/components/schemas/ModuleReferences'
85 example: my_schema_set
91 description: dataspace-name
98 description: dataspace-name
105 description: anchor-name
109 schemaSetNameInQuery:
110 name: schema-set-name
112 description: schema-set-name
117 name: schema-set-name
119 description: schema-set-name
126 description: anchor-name
138 requiredXpathInQuery:
148 description: cps-path
153 includeDescendantsOptionInQuery:
154 name: include-descendants
156 description: include-descendants
164 description: The specified resource was not found
168 $ref: '#/components/schemas/ErrorMessage'
170 description: Unauthorized
174 $ref: '#/components/schemas/ErrorMessage'
176 description: Forbidden
180 $ref: '#/components/schemas/ErrorMessage'
182 description: Bad Request
186 $ref: '#/components/schemas/ErrorMessage'
188 description: Conflict
192 $ref: '#/components/schemas/ErrorMessage'
206 description: No Content