Last change
on this file since 459 was 459, checked in by alloc, 15 months ago |
Updated to dashboard/marker files 0.8.0
Added initial OpenAPI support
|
File size:
846 bytes
|
Line | |
---|
1 | openapi: 3.1.0
|
---|
2 | info:
|
---|
3 | title: OpenAPI
|
---|
4 | version: 1
|
---|
5 |
|
---|
6 |
|
---|
7 | paths:
|
---|
8 | /api/OpenAPI/openapi.yaml:
|
---|
9 | get:
|
---|
10 | operationId: OpenAPI.openapi
|
---|
11 | responses:
|
---|
12 | 200:
|
---|
13 | content:
|
---|
14 | application/json: {}
|
---|
15 | description: OpenAPI master document
|
---|
16 | tags:
|
---|
17 | - Meta
|
---|
18 | /api/OpenAPI/{name}.openapi.yaml:
|
---|
19 | get:
|
---|
20 | operationId: OpenAPI.getAPI
|
---|
21 | parameters:
|
---|
22 | - in: path
|
---|
23 | name: name
|
---|
24 | required: true
|
---|
25 | schema:
|
---|
26 | pattern: '[^\/#\?]+?'
|
---|
27 | type: string
|
---|
28 | responses:
|
---|
29 | 200:
|
---|
30 | content:
|
---|
31 | application/json: {}
|
---|
32 | description: OpenAPI spec for API
|
---|
33 | 404:
|
---|
34 | content:
|
---|
35 | application/json: {}
|
---|
36 | description: No OpenAPI spec found for the API name
|
---|
37 | tags:
|
---|
38 | - Meta
|
---|
Note:
See
TracBrowser
for help on using the repository browser.