Skip to content

Commit 6947e24

Browse files
committed
Revert "Fix test related to line ending 3"
This reverts commit c7a965f.
1 parent c7a965f commit 6947e24

File tree

3 files changed

+384
-384
lines changed

3 files changed

+384
-384
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,128 @@
1-
openapi: 3.0.0
2-
info:
3-
title: 'Test REST API'
4-
description: 'Specifications for the Test REST API.'
5-
contact:
6-
name: bplainia
7-
email: bplainia@lhespotlight.org
8-
version: '2021-05-18'
9-
servers:
10-
-
11-
url: 'http://localhost:8000'
12-
description: Test
13-
paths:
14-
'/v1/organizations/{organizationId}/user':
15-
post:
16-
tags:
17-
- pets
18-
summary: 'Creates a user'
19-
requestBody:
20-
content:
21-
application/json:
22-
schema:
23-
type: object
24-
properties:
25-
data:
26-
type: object
27-
properties:
28-
id:
29-
type: string
30-
format: uuid
31-
name:
32-
type: string
33-
required: true
34-
responses:
35-
'201':
36-
description: Created
37-
content:
38-
application/json:
39-
schema:
40-
type: object
41-
properties:
42-
data:
43-
type: object
44-
properties:
45-
id:
46-
type: string
47-
format: uuid
48-
name:
49-
type: string
50-
'400':
51-
description: 'Bad Request'
52-
'403':
53-
description: Forbidden
54-
security:
55-
-
56-
BearerAuth: []
57-
parameters:
58-
-
59-
name: api-version
60-
in: header
61-
description: 'The API version'
62-
required: false
63-
schema:
64-
type: string
65-
format: date
66-
example: '2021-05-18'
67-
-
68-
name: organizationId
69-
in: path
70-
description: 'The Organization ID'
71-
required: true
72-
schema:
73-
type: string
74-
format: uuid
75-
'/v1/organizations/{organizationId}/user/{id}':
76-
get:
77-
summary: 'Gets a user'
78-
responses:
79-
'200':
80-
description: 'A bar'
81-
content:
82-
application/json:
83-
schema:
84-
type: object
85-
properties:
86-
data:
87-
type: object
88-
properties:
89-
id:
90-
type: string
91-
format: uuid
92-
name:
93-
type: string
94-
'400':
95-
description: 'Bad Request'
96-
'403':
97-
description: Forbidden
98-
'404':
99-
description: 'Not Found'
100-
security:
101-
-
102-
BearerAuth: []
103-
parameters:
104-
-
105-
name: api-version
106-
in: header
107-
description: 'The API version'
108-
required: false
109-
schema:
110-
type: string
111-
format: date
112-
example: '2021-05-18'
113-
-
114-
name: organizationId
115-
in: path
116-
description: 'The Organization ID'
117-
required: true
118-
schema:
119-
type: string
120-
format: uuid
121-
-
122-
name: id
123-
in: path
124-
description: 'User''s ID'
125-
required: true
126-
schema:
127-
type: string
128-
format: uuid
1+
openapi: 3.0.0
2+
info:
3+
title: 'Test REST API'
4+
description: 'Specifications for the Test REST API.'
5+
contact:
6+
name: bplainia
7+
email: bplainia@lhespotlight.org
8+
version: '2021-05-18'
9+
servers:
10+
-
11+
url: 'http://localhost:8000'
12+
description: Test
13+
paths:
14+
'/v1/organizations/{organizationId}/user':
15+
post:
16+
tags:
17+
- pets
18+
summary: 'Creates a user'
19+
requestBody:
20+
content:
21+
application/json:
22+
schema:
23+
type: object
24+
properties:
25+
data:
26+
type: object
27+
properties:
28+
id:
29+
type: string
30+
format: uuid
31+
name:
32+
type: string
33+
required: true
34+
responses:
35+
'201':
36+
description: Created
37+
content:
38+
application/json:
39+
schema:
40+
type: object
41+
properties:
42+
data:
43+
type: object
44+
properties:
45+
id:
46+
type: string
47+
format: uuid
48+
name:
49+
type: string
50+
'400':
51+
description: 'Bad Request'
52+
'403':
53+
description: Forbidden
54+
security:
55+
-
56+
BearerAuth: []
57+
parameters:
58+
-
59+
name: api-version
60+
in: header
61+
description: 'The API version'
62+
required: false
63+
schema:
64+
type: string
65+
format: date
66+
example: '2021-05-18'
67+
-
68+
name: organizationId
69+
in: path
70+
description: 'The Organization ID'
71+
required: true
72+
schema:
73+
type: string
74+
format: uuid
75+
'/v1/organizations/{organizationId}/user/{id}':
76+
get:
77+
summary: 'Gets a user'
78+
responses:
79+
'200':
80+
description: 'A bar'
81+
content:
82+
application/json:
83+
schema:
84+
type: object
85+
properties:
86+
data:
87+
type: object
88+
properties:
89+
id:
90+
type: string
91+
format: uuid
92+
name:
93+
type: string
94+
'400':
95+
description: 'Bad Request'
96+
'403':
97+
description: Forbidden
98+
'404':
99+
description: 'Not Found'
100+
security:
101+
-
102+
BearerAuth: []
103+
parameters:
104+
-
105+
name: api-version
106+
in: header
107+
description: 'The API version'
108+
required: false
109+
schema:
110+
type: string
111+
format: date
112+
example: '2021-05-18'
113+
-
114+
name: organizationId
115+
in: path
116+
description: 'The Organization ID'
117+
required: true
118+
schema:
119+
type: string
120+
format: uuid
121+
-
122+
name: id
123+
in: path
124+
description: 'User''s ID'
125+
required: true
126+
schema:
127+
type: string
128+
format: uuid

0 commit comments

Comments
 (0)