Transform api declaration to js object for frontend. Inspired by VueRouter, koa-middleware and axios.
Hey! This is a new version of Apipie
!
In this pre-release two main things are done:
{
url: '/root',
children: [
{ url: 'path', method: 'get' } // GET: /root/path
]
}
Now you can use more type options of pathToregex, like optional named parameters!
The new version of Apipie! This version no longer depends on vue.
First, I am very grateful to Akiyamka, for the invented name for the project!
And second, I'm very happy to announce that now Apipi supports validation for the data
, params
and url_params
.
Hey, that's new realize without breaking changes! This realize fix 2 bugs: