9a5efccf0d
Fix axios query of array type in IClientAPI
2022-07-23 17:29:45 +09:00
272269339e
[v2.1.1] fix axios type bug
2022-06-13 21:06:21 +09:00
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
771c34b8c8
implement $ref support for responses, parameters, requestBody
2020-05-24 15:15:53 +09:00
sup39
33834a89a9
fix FullDate stringify in Axios params
...
use local timezone instead of UTC in FullDate
2020-05-24 01:23:42 +09:00
sup39
ed584b1f11
fix clientOnly code: remove CTX
2020-05-20 05:54:19 +09:00
sup39
3d2fea95cb
implement required
property of schema
...
client-only codegen
2020-05-20 05:17:08 +09:00
sup39
456cb9d119
fix Config supmiku39->sup39
2020-05-07 00:26:53 +09:00
supmiku39
10c1a3655d
make number convertible to boolean
2020-04-16 02:05:04 +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
6ab69e4141
fix api-codegen -s not working bug
2020-04-15 07:56:12 +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
c482e91cbc
expose fields of schemas to XXX.fields
2020-04-15 07:15:54 +09:00
supmiku39
65482a6890
publish to npmjs; specify FullDate constructor type
...
change the package name in generated code
2020-04-10 21:17:34 +09:00
supmiku39
26d531c26e
implement FullDate#distanceFrom(d0)
...
fix FullDate timezone bug, use UTC instead
2020-04-09 19:45:32 +09:00
supmiku39
87615616d6
fix Partial constructor, enhance error msg
...
add more info to BadValueError
special message on undefined and null
trace the location where the error is thrown
add int32 STP
fix STP null argument bug
2020-04-08 20:17:57 +09:00
supmiku39
8f97095fbc
forgot to build
2020-04-06 01:09:37 +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