2016-12-28 77 views
1

我使用API連接:v5.0.5.0(apiconnect:v2.4.11)在Windows 10開發工具包,我能發表我回送應用Bluemix成功從Developer Toolkit。但是,在嘗試將API產品發佈/階段發佈到我的Bluemix API Connect實例APIC開發人員工具包正在獲取以下例外。問題與發佈API產品到Bluemix

enter image description here

我想知道在哪裏可以找到更多的信息(如錯誤指示)和任何提示或建議來解決問題。

回答

0

首先,如果你有發表我建議運行apic validate對您的產品文件首先看是否有任何驗證問題的問題。

我從developer.ibm.com問題中抓取了您的產品/ api文件並做了一些測試。我發現,你的路徑/containers/{container}/download/{file}有兩個參數定義爲

parameters: - name: container in: path required: false type: string - name: file in: path required: false type: string

絕不是我在這個領域的專家,但我發現,如果我改變required: falserequired: true驗證是成功的。試試看。