api-platform / docs

API Platform documentation
https://api-platform.com/docs/
164 stars 1.06k forks source link

Use Symfony Response const #1905

Closed louismariegaborit closed 5 months ago

dunglas commented 6 months ago

I find this less readable. The YAML tag is a bit esoteric and these values are well-known values defined by the HTTP protocol (not Symfony-specific) that can't change, so I don't think there is added value to use constants here.

louismariegaborit commented 6 months ago

Can I homogenize the documentation by replacing const with direct value ?

soyuka commented 5 months ago

Agree we don't want this patch or only for symfony docs but we don't have this yet. Thanks!