cebe / php-openapi

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

Support for fixed arrays in schema #73

Closed canvural closed 4 years ago

canvural commented 4 years ago

Fixes #72

Tried to add support for fixed arrays. There were couple of ways to solve this. But I think this is the best option. It seems it doesn't affect any existing functionality. Tests are passing locally. Also tested in a couple of projects of mine.

Let me know what you think :+1:

canvural commented 4 years ago

Oh, it looks like this is not supported in OpenAPI. Sorry to bother.