We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxa-core:
fetch函数增加response的格式校验能力,允许开发者对接口响应字段的完整性和数据格式进行自定义校验,类似json Schema的模式。
校验不通过时在不中断运行逻辑的情况下进行warn提示
fetch('api', {}, {$resSchema: { name: { required:true, type: 'string' } }, 'POST' )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
wxa-core:
fetch函数增加response的格式校验能力,允许开发者对接口响应字段的完整性和数据格式进行自定义校验,类似json Schema的模式。
校验不通过时在不中断运行逻辑的情况下进行warn提示
The text was updated successfully, but these errors were encountered: