如何在 ObjectScript 中构建 RESTful POST API,而架构是这样的。它应该接受符合模式的 myList。
{
"$schema": "link",
"type": "object",
"properties": {
"myList": {
"type": "array",
"items":{
"type": "string"
}
}
},
"required": [
"myList"
]
}