api-platform / docs

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

doc: Update openapi.md properties issue #1953

Closed loconox closed 2 weeks ago

loconox commented 1 month ago

There is a trailing attributes in the documentation. openapiContext should comes directly inside class attributes.

See how it is handled here: https://github.com/api-platform/core/blob/40fd6006bff137893cbe465ddb1d5bceca133ecc/src/JsonSchema/SchemaFactory.php#L153