createstruct

command module
v0.0.0-...-e556726 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

README

createstruct

The gojsonschema rest api

How to use?

目前只支持Json Draft 4所规定的规范。 为了方便上传json schema,在此约定schema必须进行base64编码

如果转换失败,则也会返回一个空struct。所以无法通过返回码来判断转换是否成功,只能通过返回的字符串来判断转换是否成功

API LIST

API VERSION :/v1


Method Path Description Parameter
GET /_ping 测试后端服务是否正常
POST /post/json 使用上传的schema生成struct数据 Body:
{name:'必填','json':'必填'}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL