Commit graph

7 commits

Author SHA1 Message Date
oxalica
acaf0f955a save: add utoipa for OAPI generation 2024-10-16 07:26:00 -04:00
oxalica
ff7fd9e4b2 feat(webapi): include cid in ServerEvent::Msg 2024-10-08 21:20:20 -04:00
oxalica
c611396331 fix(types): add missed default type 2024-10-05 02:41:16 -04:00
oxalica
4e8124cda6 refactor(blahd,types): hoist more types into types crate 2024-10-05 00:19:05 -04:00
oxalica
bc6e6c2056 refactor(webapi,types)!: make challenge type extensive
We may allow more challenge types other than PoW in the future, eg.
captcha. So make the relevent types more generic.

Now the challenge is returned in JSON response as a individual top-level
field `register_challenge` instead of in HTTP headers.
2024-10-01 05:26:00 -04:00
oxalica
fa14844d0d feat(webapi): expose server metadata 2024-09-25 12:45:26 -04:00
oxalica
8551540798 refactor(types)!: blow up big lib.rs into submods 2024-09-25 11:15:31 -04:00