- jsondoc=https://ztapitest.ztjoin.com/api/OpenApi?com=zthtkf&auth=auto;headers={{"Content-Type":"application/json"};method=POST;body={{ "proname": " {@proname}", "method": "{@method}", "code": "{@code}" };schemadata={{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "properties": {{
- "proname": {{
- "type": "string",
- "const": "Common"
- },
- "method": {{
- "type": "string",
- "const": "GetTestData"
- },
- "code": {{
- "type": "string",
- "pattern": "^[A-Z0-9]{16}$",
- "minLength": 16,
- "maxLength": 16
- }
- },
- "required": ["proname", "method", "code"],
- "additionalProperties": false
- };
复制代码
使用上面这jsonschema 预览的时候查询不到数据 |