无法通过 aws 控制台导入 api yaml 定义
Unable to import api yaml definition through aws console
我一直在尝试导入我的 api 定义文件,它是一个 yaml 文件,但是当我从控制台导入它时,我遇到了几个错误
Invalid model name specified: application/json=null
Model name must be alphanumeric: inline_response_200_1
Invalid model name specified: null
Reference to model 'inline_response_200_1' not found. Ignoring.
我怎样才能摆脱这些?
我想我也在 GitHub 上看到了您的 post,但这些是导入中的验证错误。定义的任何模型都必须具有有效的字母数字名称 [a-zA-Z0-9]+
您的 YAML 语法似乎不正确,因为模型名称应该是非空的。
如果由于错误而未能成功创建模型,则方法中的任何引用也将被破坏。
我一直在尝试导入我的 api 定义文件,它是一个 yaml 文件,但是当我从控制台导入它时,我遇到了几个错误
Invalid model name specified: application/json=null
Model name must be alphanumeric: inline_response_200_1
Invalid model name specified: null
Reference to model 'inline_response_200_1' not found. Ignoring.
我怎样才能摆脱这些?
我想我也在 GitHub 上看到了您的 post,但这些是导入中的验证错误。定义的任何模型都必须具有有效的字母数字名称 [a-zA-Z0-9]+
您的 YAML 语法似乎不正确,因为模型名称应该是非空的。
如果由于错误而未能成功创建模型,则方法中的任何引用也将被破坏。