8 ms·
Neat! Any plans to support OpenAPI schema? It's cool that it's easy to create the API, but consuming and documenting it is also a factor.
by andridk 3y ago
Neat! Any plans to support OpenAPI schema? It's cool that it's easy to create the API, but consuming and documenting it is also a factor.
- tommica 3y agoOh, now that would be a neat feature to have in the library
- manbitesdog 3y agoThanks! I considered it, but since parameters are defined just because users call a validation function, there's no straighforward way to get them. Maybe I could use PHP8 attributes for this, but maybe it complicates the syntax too much for a microframework.