File tree 5 files changed +8
-7
lines changed
templates/bake/element/Controller
5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 6
6
/config /Migrations /schema-dump-default.lock
7
7
/vendor /
8
8
/.idea /
9
+ .DS_Store
Original file line number Diff line number Diff line change 32
32
new OA\Response(
33
33
response: 201,
34
34
description: 'OK',
35
- content: new OA\JsonContent(ref: '#components/schemas/{{ singularHumanName }}'),
35
+ content: new OA\JsonContent(ref: '#/ components/schemas/{{ singularHumanName }}'),
36
36
),
37
37
new OA\Response(response: 401, description: 'Unauthorized'),
38
38
new OA\Response(response: 403, description: 'Forbidden'),
39
39
new OA\Response(
40
40
response: 422,
41
41
description: 'Validation Error',
42
- content: new OA\JsonContent(ref: '#components/schemas/Application '),
42
+ content: new OA\JsonContent(ref: '#/ components/schemas/ValidationErrorResponse '),
43
43
),
44
44
]
45
45
)]
Original file line number Diff line number Diff line change 46
46
new OA\Response(
47
47
response: 201,
48
48
description: 'OK',
49
- content: new OA\JsonContent(ref: '#components/schemas/{{ singularHumanName }}'),
49
+ content: new OA\JsonContent(ref: '#/ components/schemas/{{ singularHumanName }}'),
50
50
),
51
51
new OA\Response(response: 401, description: 'Unauthorized'),
52
52
new OA\Response(response: 403, description: 'Forbidden'),
53
53
new OA\Response(
54
54
response: 422,
55
55
description: 'Validation Error',
56
- content: new OA\JsonContent(ref: '#components/schemas/Application '),
56
+ content: new OA\JsonContent(ref: '#/ components/schemas/ValidationErrorResponse '),
57
57
),
58
58
]
59
59
)]
Original file line number Diff line number Diff line change 46
46
new OA\Response(
47
47
response: 201,
48
48
description: 'OK',
49
- content: new OA\JsonContent(ref: '#components/schemas/{{ singularHumanName }}'),
49
+ content: new OA\JsonContent(ref: '#/ components/schemas/{{ singularHumanName }}'),
50
50
),
51
51
new OA\Response(response: 401, description: 'Unauthorized'),
52
52
new OA\Response(response: 403, description: 'Forbidden'),
Original file line number Diff line number Diff line change 50
50
content: new OA\JsonContent(
51
51
type: 'object',
52
52
allOf: [
53
- new OA\Schema(ref: '#components/schemas/{{ singularHumanName }}'),
53
+ new OA\Schema(ref: '#/ components/schemas/{{ singularHumanName }}'),
54
54
new OA\Schema(
55
55
properties: [
56
56
{% for table in singularAssociations %}
77
77
new OA\Response(
78
78
response: 200,
79
79
description: 'OK',
80
- content: new OA\JsonContent(ref: '#components/schemas/{{ singularHumanName }}'),
80
+ content: new OA\JsonContent(ref: '#/ components/schemas/{{ singularHumanName }}'),
81
81
),
82
82
{% endif %}
83
83
new OA\Response(response: 401, description: 'Unauthorized'),
You can’t perform that action at this time.
0 commit comments