Skip to content
New issue

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

apidoc文档内容能否支持定制?以及字符串的显示问题 #5

Open
shiqinfeng1 opened this issue Jul 18, 2018 · 0 comments

Comments

@shiqinfeng1
Copy link

  1. apidoc文档的标题是否可以定制,不要只能显示 “RESTful API”
{ 
"problem_id":1,
"user_id":"123456",
"sign": "12345abcde",
"atime":137322417,
"content":"[ {'type': 'text','text': '这是一段文本形式的内容'},{'type': 'image','file': '这是图片形式的内容,这里是图片的 url'},{'type': 'audio','file': '这是语音形式的内容,这里是音频文件的 url'}]"
}

例如上面一段json输入中, 在apidoc的example中content显示为:
"content": "[ {\u0027type\u0027: \u0027text\u0027,\u0027text\u0027: \u0027这是一段文本形式的内容\u0027},{\u0027type\u0027: \u0027image\u0027,\u0027file\u0027: \u0027这是图片形式的内容,这里是图片的 url\u0027},{\u0027type\u0027: \u0027audio\u0027,\u0027file\u0027: \u0027这是语音形式的内容,这里是音频文件的 url\u0027}]",

单引号转换有问题, 不知能否解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant