cebe / php-openapi

Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
MIT License
464 stars 87 forks source link

[openapi v3.1] Preserve property item keys #179

Open WyriHaximus opened 1 year ago

WyriHaximus commented 1 year ago

This is mainly useful when dealing with webhooks to use the array index as a name for the given webhook as the spec uses it as a unique identifier: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-object