Skip to content

Conversation

Jurj-Bogdan
Copy link
Member

Added a new section for security as described in #121 and fixed a few existing typos and CI issues

Closes #121

Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>
Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>
Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>
Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>

Content negotiation in Dotkernel API is done by a middleware configured using the `config/autoload/content-negotiation.global.php` file.

Review the contents of this file and update it whenever you need to handle new routes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one need to be refined : when you need to update this file ?
@alexmerlin

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe?

Whenever an endpoint needs custom Accept and/or Content-Type, make sure that you set them in the above file.

Signed-off-by: Jurj-Bogdan <bogdanjurj11@gmail.com>
@arhimede arhimede requested a review from alexmerlin October 7, 2025 10:50
@arhimede arhimede merged commit 59e12d4 into main Oct 7, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

page a section SECURITY

3 participants