News for hackers. Stuff that matters.
Re: by andridk on Wednesday February 14, 2024 @02:19AM (#39367362)
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.
Re: by tommica on Wednesday February 14, 2024 @02:31AM (#39367436)
Oh, now that would be a neat feature to have in the library
Re: by juancroldan on Wednesday February 14, 2024 @08:40AM (#39369614)
Thanks! 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.