-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschemas.openapi.yaml
39 lines (39 loc) · 976 Bytes
/
schemas.openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
openapi: 3.0.1
info:
title: schema/openapi
description: ''
version: v1
servers:
- url: https://{endpointurl}/schema/openapi/v1
paths:
'/get/{schema}':
get:
summary: get-schema
description: Gets an Open API schema by its filename.
operationId: get
parameters:
- name: schema
in: path
description: The filename of the schema to fetch
required: true
schema:
enum:
- rdg.tms.openapi.schema.v1.yaml
type: string
default: rdg.tms.openapi.schema.v1.yaml
responses:
'200':
description: The file contents of the requested schema.
components:
securitySchemes:
apiKeyHeader:
type: apiKey
name: Ocp-Apim-Subscription-Key
in: header
apiKeyQuery:
type: apiKey
name: subscription-key
in: query
security:
- apiKeyHeader: [ ]
- apiKeyQuery: [ ]