-
-
Notifications
You must be signed in to change notification settings - Fork 844
/
resources.yaml
112 lines (99 loc) · 4.84 KB
/
resources.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
properties:
ApiPlatform\Tests\Fixtures\TestBundle\Model\ResourceInterface:
foo:
identifier: true
ApiPlatform\Tests\Fixtures\TestBundle\Model\Chair:
id:
identifier: false
resources:
ApiPlatform\Tests\Fixtures\TestBundle\Model\DummyAddress:
operations:
ApiPlatform\Metadata\GetCollection:
# TODO Remove in 4.0
openapiContext:
x-visibility: hide
ApiPlatform\Tests\Fixtures\TestBundle\Model\ResourceInterface:
operations:
ApiPlatform\Metadata\GetCollection: ~
ApiPlatform\Metadata\Get: ~
ApiPlatform\Tests\Fixtures\TestBundle\Model\ResourceBarInterface:
operations:
ApiPlatform\Metadata\GetCollection: ~
ApiPlatform\Metadata\Get: ~
ApiPlatform\Tests\Fixtures\TestBundle\Model\Chair:
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Tests\Fixtures\TestBundle\Model\Fork:
- graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
- uriTemplate: /fourchettes
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Tests\Fixtures\TestBundle\Model\Spoon:
- graphQlOperations: null
operations:
ApiPlatform\Metadata\GetCollection:
uriTemplate: '/spoons'
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
- graphQlOperations: ~
operations:
ApiPlatform\Metadata\GetCollection:
uriTemplate: /cuillers
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Metadata\Get:
uriTemplate: /cuillers/{id}
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Tests\Fixtures\TestBundle\Model\Table:
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Tests\Fixtures\TestBundle\Entity\FlexConfig: ~
ApiPlatform\Tests\Fixtures\TestBundle\Model\Car:
- graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
ApiPlatform\Metadata\Post:
processor: ApiPlatform\Tests\Fixtures\TestBundle\State\CarProcessor
ApiPlatform\Metadata\Get: ~
- graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
uriTemplate: /brands/renault/cars
itemUriTemplate: /brands/renault/cars/{id}
ApiPlatform\Metadata\Post:
processor: ApiPlatform\Tests\Fixtures\TestBundle\State\CarProcessor
uriTemplate: /brands/renault/cars
itemUriTemplate: /brands/renault/cars/{id}
ApiPlatform\Metadata\Get:
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\FakeProvider
uriTemplate: /brands/renault/cars/{id}
ApiPlatform\Tests\Fixtures\TestBundle\Model\DummyCollectionDto:
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
output: ApiPlatform\Tests\Fixtures\TestBundle\Dto\DummyCollectionDtoOutput
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\DummyCollectionDtoProvider
ApiPlatform\Tests\Fixtures\TestBundle\Model\DummyFooCollectionDto:
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
output: ApiPlatform\Tests\Fixtures\TestBundle\Dto\DummyCollectionDtoOutput
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\DummyCollectionDtoProvider
itemUriTemplate: /dummy_foos/bar
ApiPlatform\Metadata\Get:
uriTemplate: /dummy_foos/bar
ApiPlatform\Tests\Fixtures\TestBundle\Model\DummyIdCollectionDto:
graphQlOperations: [ ]
operations:
ApiPlatform\Metadata\GetCollection:
output: ApiPlatform\Tests\Fixtures\TestBundle\Dto\DummyIdCollectionDtoOutput
provider: ApiPlatform\Tests\Fixtures\TestBundle\State\DummyCollectionDtoProvider