forked from tfranzel/drf-spectacular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_versioning_accept_v1.yml
More file actions
63 lines (63 loc) · 1.21 KB
/
Copy pathtest_versioning_accept_v1.yml
File metadata and controls
63 lines (63 loc) · 1.21 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
openapi: 3.0.3
info:
title: ''
version: 0.0.0 (v1)
paths:
/x/:
get:
operationId: x_list
tags:
- x
security:
- cookieAuth: []
- basicAuth: []
- {}
responses:
'200':
content:
application/json; version=v1:
schema:
type: array
items:
$ref: '#/components/schemas/Xv1'
description: ''
/x/{id}/:
get:
operationId: x_retrieve
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this simple model.
required: true
tags:
- x
security:
- cookieAuth: []
- basicAuth: []
- {}
responses:
'200':
content:
application/json; version=v1:
schema:
$ref: '#/components/schemas/Xv1'
description: ''
components:
schemas:
Xv1:
type: object
properties:
id:
type: integer
required:
- id
securitySchemes:
basicAuth:
type: http
scheme: basic
cookieAuth:
type: apiKey
in: cookie
name: sessionid