@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api EmailVerify
@base https://ev.apis.paypi.dev
@version 1.0.0
@auth Bearer bearer
@endpoints 2
@toc sendCode(1), checkCode(1)

@group sendCode
@endpoint POST /sendCode
@optional {email: str}
@returns(200) {success: bool, message: bool}
@errors {400, 401}

@endgroup

@group checkCode
@endpoint POST /checkCode
@optional {email: str=test@test.com, code: str=123456}
@returns(200) {success: bool, message: str}
@errors {401, 403}

@endgroup

@end
