Skip to content

Commit 80b93d0

Browse files
authored
fix(fosrest): wrong internal links (#1494)
1 parent 0237d8d commit 80b93d0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

core/migrate-from-fosrestbundle.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ See [The view layer](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/3.x/
2121

2222
Add the `ApiResource` attribute to your entities, and enable operations you desire inside. By default, every operations are activated.
2323

24-
See [Operations](../operations.md).
24+
See [Operations](operations.md).
2525

2626
### Make custom controllers
2727

@@ -31,11 +31,11 @@ Same as above.
3131

3232
**In API Platform**
3333

34-
Even though this is not recommended, API Platform allows you to [create custom controllers](../controllers.md) and declare them in your entity's `ApiResource` attribute.
34+
Even though this is not recommended, API Platform allows you to [create custom controllers](controllers.md) and declare them in your entity's `ApiResource` attribute.
3535

36-
You can use them as you migrate from FOSRestBundle, but you should consider [switching to Symfony Messenger](../messenger.md) as it will give you more benefits, such as compatibility with both REST and GraphQL, and better performances of your API on big tasks.
36+
You can use them as you migrate from FOSRestBundle, but you should consider [switching to Symfony Messenger](messenger.md) as it will give you more benefits, such as compatibility with both REST and GraphQL, and better performances of your API on big tasks.
3737

38-
See [General Design Considerations](../design.md).
38+
See [General Design Considerations](design.md).
3939

4040

4141
### Routing system (with native documentation support)
@@ -50,7 +50,7 @@ See [Full default annotations](https://github.com/FriendsOfSymfony/FOSRestBundle
5050

5151
Use the `ApiResource` attribute to activate the HTTP methods you need for your entity. By default, all the methods are enabled.
5252

53-
See [Operations](../operations.md).
53+
See [Operations](operations.md).
5454

5555
### Hook into the requests handling
5656

@@ -64,7 +64,7 @@ See [Listener support](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/3.
6464

6565
API Platform provides a lot of ways to customize the behavior of your API, depending on what you exactly want to do.
6666

67-
See [Extending API Platform](../extending.md) for more details.
67+
See [Extending API Platform](extending.md) for more details.
6868

6969
### Customize the formats of the requests and the responses
7070

@@ -82,7 +82,7 @@ Both the request and the response body's format can be customized.
8282

8383
You can configure the formats of the API either globally or in specific resources or operations. API Platform provides native support for multiple formats including JSON, XML, CSV, YAML, etc.
8484

85-
See [Content negociation](../content-negotiation.md).
85+
See [Content negociation](content-negotiation.md).
8686

8787
### Name conversion
8888

@@ -100,7 +100,7 @@ Both request and response bodies can be converted.
100100

101101
API Platform uses [name converters](https://symfony.com/doc/current/components/serializer.html#component-serializer-converting-property-names-when-serializing-and-deserializing) included in the Serializer component of Symfony. You can create your own by implementing the `NameConverterInterface` provided by Symfony.
102102

103-
See [_Name Conversion_ in The Serialization Process](../serialization.md#name-conversion).
103+
See [_Name Conversion_ in The Serialization Process](serialization.md#name-conversion).
104104

105105
### Handle errors
106106

@@ -114,7 +114,7 @@ See [ExceptionController support](https://github.com/FriendsOfSymfony/FOSRestBun
114114

115115
Map the exceptions to HTTP statuses in the `api_platform.exception_to_status` parameter.
116116

117-
See [Errors Handling](../errors.md).
117+
See [Errors Handling](errors.md).
118118

119119
### Security
120120

@@ -128,7 +128,7 @@ Use the `security` attribute in the `ApiResource` and `ApiProperty` attributes.
128128

129129
Note you can also use the `security.yml` file if you only need to limit access to specific roles.
130130

131-
See [Security](../security.md).
131+
See [Security](security.md).
132132

133133
### API versioning
134134

@@ -142,4 +142,4 @@ See [API versioning](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/3.x/
142142

143143
API Platform has no native support to API versioning, but instead provides an approach consisting of deprecating resources when needed. It allows a smoother upgrade for clients, as they need to change their code only when it is necessary.
144144

145-
See [Deprecating Resources and Properties](../deprecations.md).
145+
See [Deprecating Resources and Properties](deprecations.md).

0 commit comments

Comments
 (0)