64c6d14047
Change import * as XXX
to import XXX
in codegen of @koa/router
and koa-body
2022-08-13 04:39:34 +09:00
469ba4d7bf
Use JSON.stringify()
for pure object in STP._string
2022-07-30 20:29:25 +09:00
9a5efccf0d
Fix axios query of array type in IClientAPI
2022-07-23 17:29:45 +09:00
58acafcc64
update LICENSE
2022-06-18 01:49:55 +09:00
c682904d3c
v2.1.1-rc
2022-06-13 21:10:36 +09:00
272269339e
[v2.1.1] fix axios type bug
2022-06-13 21:06:21 +09:00
377e34deb5
v2.1.1
2022-06-13 21:05:36 +09:00
3b76777322
v2.1.1-rc1
2022-06-13 21:02:33 +09:00
c73c5c7088
[v2.1.0] simplify generated code of apiRouter; remove utils symlink
2022-06-13 19:03:12 +09:00
07c6bc4671
Merge pull request #8 from sup39/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-06-11 01:27:13 +09:00
dependabot[bot]
da50d8bc97
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 11:07:30 +00:00
f588c5f6b1
Merge pull request #7 from sup39/dependabot/npm_and_yarn/follow-redirects-1.14.8
...
Bump follow-redirects from 1.14.7 to 1.14.8
2022-02-13 22:24:44 +09:00
dependabot[bot]
4bbf47b5ae
Bump follow-redirects from 1.14.7 to 1.14.8
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 10:01:01 +00:00
サポミク
ffe9c71c0e
Merge pull request #6 from sup39/dependabot/npm_and_yarn/axios-0.21.2
...
Bump axios from 0.21.1 to 0.21.2
2022-01-16 11:10:16 +09:00
dependabot[bot]
70528ff6f1
Bump axios from 0.21.1 to 0.21.2
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 14:15:14 +00:00
サポミク
bb5f7d23a2
Merge pull request #5 from sup39/dependabot/npm_and_yarn/follow-redirects-1.14.7
...
Bump follow-redirects from 1.13.1 to 1.14.7
2022-01-14 23:14:49 +09:00
dependabot[bot]
bc31a1f669
Bump follow-redirects from 1.13.1 to 1.14.7
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.13.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.1...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:56:15 +00:00
サポミク
4120bb13de
Merge pull request #4 from sup39/dependabot/npm_and_yarn/glob-parent-5.1.2
...
Bump glob-parent from 5.1.1 to 5.1.2
2021-06-13 16:25:27 +09:00
dependabot[bot]
236b8e811d
Bump glob-parent from 5.1.1 to 5.1.2
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:23:14 +00:00
サポミク
325662844d
Merge pull request #3 from sup39/dependabot/npm_and_yarn/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21
2021-05-11 19:53:41 +09:00
dependabot[bot]
9fd7ac851c
Bump lodash from 4.17.20 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 09:16:51 +00:00
サポミク
739a4b1f45
Merge pull request #2 from sup39/dependabot/npm_and_yarn/axios-0.21.1
...
Bump axios from 0.19.2 to 0.21.1
2021-01-06 09:52:05 +09:00
dependabot[bot]
9f3dc57307
Bump axios from 0.19.2 to 0.21.1
...
Bumps [axios](https://github.com/axios/axios ) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-05 23:35:43 +00:00
sup39
16d4c6c011
update dependencies
2020-08-17 13:15:55 +08: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
ff1c909dc7
move qs from dev- to dependencies
2020-05-24 01:30:58 +09:00
sup39
68d03e2963
amend version to 2.0.4
2020-05-24 01:26:26 +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
sup39
23b621734a
create LICENSE file
2020-05-03 16:52:07 +09:00
sup39
681f9efd76
move supmiku39 to sup39
2020-04-29 23:04:29 +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
bee45e6e4b
v1.1.2-a
2020-04-11 02:32:54 +09:00
supmiku39
9b668f0b2f
fix README.md APIPromise#on
...
fix codegen indent bug
2020-04-11 02:22:47 +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
3b1562315d
rename package name
2020-04-10 19:47:08 +09:00
supmiku39
988f49f18b
write README.md
2020-04-09 20:21:58 +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
71c9334dcd
update version to 1.0.1
2020-04-06 01:00:29 +09:00
supmiku39
7c352d4f37
implement FullDate getter, setter, function
...
getter: date, year, month, day, dayOfWeek
setter: year, month, day
function: advance
2020-04-06 00:57:52 +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