adonis-autoswagger
adonis-autoswagger copied to clipboard
Support adonis v6
- [ ] resolve all methods from new adonis
@Ziut3k-dev I haven't had a chance to try adonisjs v6 yet, but will this still work with adonisjs v5?
@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6
@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6
This is not good, backward-compatibility with v5 MUST be assured.
Is there no such thing as Route.toJSON() in v6, so the routes get passed to adonis-autoswagger, which are then converted to the already existing interfaces like AdonisRoute and AdoniseRouteMeta?
@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6
This is not good, backward-compatibility with v5 MUST be assured.
Is there no such thing as
Route.toJSON()in v6, so the routes get passed to adonis-autoswagger, which are then converted to the already existing interfaces likeAdonisRouteandAdoniseRouteMeta?
I haven't had time to try to convert it to the interface with v5 yet, by the end of the week I will sit down and test what and how
@Ziut3k-dev do you plan to handle this in the near future? Not to put any pressure but I am in need of this package on v6 or I will have to research alternatives :(
@Ziut3k-dev do you plan to handle this in the near future? Not to put any pressure but I am in need of this package on v6 or I will have to research alternatives :(
I have some spare time and will look into it myself these days.
v6 compatibility and v5 backwards-compatibility are now implemented in v 2.0.0