From 7990e107b0dfcf99a98d43d9ab240f6e3dd767ba Mon Sep 17 00:00:00 2001 From: Florent Drousset Date: Tue, 16 Sep 2025 22:57:04 +0200 Subject: [PATCH 1/2] docs: fix small typo (#2205) Corrected the phrasing from "Checkout" to "Check out" for clarity. ("to check something out", in this case the code, VS "checkout" as the place where someone pays for their purchases) --- symfony/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/index.md b/symfony/index.md index 1333f139cec..fbf3ca9f404 100644 --- a/symfony/index.md +++ b/symfony/index.md @@ -815,7 +815,7 @@ Keep in mind that you can use your favorite client-side technology: API Platform requests is OK (even COBOL can do that). To go further, the API Platform team maintains a demo application showing more advanced use cases like leveraging serialization -groups, user management, or JWT and OAuth authentication. [Checkout the demo code source on GitHub](https://github.com/api-platform/demo) +groups, user management, or JWT and OAuth authentication. [Check out the demo code source on GitHub](https://github.com/api-platform/demo) and [browse it online](https://demo.api-platform.com). ## Screencasts From d42309599309ed69a033b0fa329ae20011a25f8b Mon Sep 17 00:00:00 2001 From: Sarah Ember Date: Wed, 17 Sep 2025 02:23:09 -0700 Subject: [PATCH 2/2] Update openapi.md (#2042) Added 'responses' config to the example: Changing Operations in the OpenAPI Documentation. --- core/openapi.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/core/openapi.md b/core/openapi.md index f472a3b2f14..80685b63675 100644 --- a/core/openapi.md +++ b/core/openapi.md @@ -497,7 +497,27 @@ use App\Controller\RandomRabbit; ] ] ]) - ) + ), + responses: [ + 201 => new Model\Response( + content: new \ArrayObject([ + 'application/json' => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'status' => ['type' => 'string'], + 'description' => ['type' => 'string'] + ] + ], + 'example' => [ + 'status' => 'success', + 'description' => 'Rabbit picture created.', + ] + ] + ] + ) + ) + ], ) )] class Rabbit