Archived
1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
c73c5c7088 [v2.1.0] simplify generated code of apiRouter; remove utils symlink 2022-06-13 19:03:12 +09:00
sup39
85c026ba01 object-type properties conversion in req func
Change Full#advance and implement Full#advanced
2020-08-17 13:12:34 +08:00
sup39
3d2fea95cb implement required property of schema
client-only codegen
2020-05-20 05:17:08 +09:00
supmiku39
d51c345867 use IState as a generic type and remove it from api-codegen 2020-04-15 17:34:34 +09:00
supmiku39
d76000a1e4 [v2.0.0] simplify generated code, change some types
- merge all APIPromise class
- remove IServerAPI and IClientAPI
- remove res Object, return [status, body] in ServerAPI instead
- remove schema classes, use interface instead
- `-s` flag for `ctx.state` interface path
2020-04-15 07:45:51 +09:00
supmiku39
75674df502 ClientAPI, ServerAPI interface, Schema TS codegen
ClientAPI: use Axios
ServerAPI: use @koa/router
FullDate: wrapped Date only class
APIPromise: enhanced Promise on api response

application/json only(multipart/*, image/*, ... are not supported)
get, post, put, delete, patch only
2020-04-05 00:57:34 +09:00