File tree 7 files changed +8
-8
lines changed
src/Symfony/Bundle/Resources/config/routing
7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_entrypoint" path =" /{index}.{_format}" >
8
+ <route id =" api_entrypoint" path =" /{index}.{_format}" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.action.entrypoint</default >
10
10
<default key =" _format" />
11
11
<default key =" _api_respond" >true</default >
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_doc" path =" /docs.{_format}" >
8
+ <route id =" api_doc" path =" /docs.{_format}" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.action.documentation</default >
10
10
<default key =" _format" />
11
11
<default key =" _api_respond" >true</default >
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_errors" path =" /errors/{status}" >
8
+ <route id =" api_errors" path =" /errors/{status}" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.action.not_exposed</default >
10
10
<default key =" status" >500</default >
11
11
12
12
<requirement key =" status" >\d+</requirement >
13
13
</route >
14
14
15
- <route id =" api_validation_errors" path =" /validation_errors/{id}" >
15
+ <route id =" api_validation_errors" path =" /validation_errors/{id}" methods = " GET|HEAD " >
16
16
<default key =" _controller" >api_platform.action.not_exposed</default >
17
17
</route >
18
18
</routes >
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_genid" path =" /.well-known/genid/{id}" >
8
+ <route id =" api_genid" path =" /.well-known/genid/{id}" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.action.not_exposed</default >
10
10
<default key =" _api_respond" >true</default >
11
11
</route >
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_graphql_graphiql" path =" /graphql/graphiql" >
8
+ <route id =" api_graphql_graphiql" path =" /graphql/graphiql" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.graphql.action.graphiql</default >
10
10
</route >
11
11
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_graphql_graphql_playground" path =" /graphql/graphql_playground" >
8
+ <route id =" api_graphql_graphql_playground" path =" /graphql/graphql_playground" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.graphql.action.graphql_playground</default >
10
10
</route >
11
11
Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/routing
6
6
http://symfony.com/schema/routing/routing-1.0.xsd" >
7
7
8
- <route id =" api_jsonld_context" path =" /contexts/{shortName}.{_format}" >
8
+ <route id =" api_jsonld_context" path =" /contexts/{shortName}.{_format}" methods = " GET|HEAD " >
9
9
<default key =" _controller" >api_platform.jsonld.action.context</default >
10
10
<default key =" _format" >jsonld</default >
11
11
<default key =" _api_respond" >true</default >
You can’t perform that action at this time.
0 commit comments