【問題解決】Flasgger mapping values are not allowed here?


參考來源:https://stackoverflow.com/questions/9055371/python-and-pyaml-yaml-scanner-scannererror-mapping-values-are-not-allowed-her

前幾天使用Flask swagger進行api文檔的自動生成,但是配置寫錯了,發生了上面的錯誤。
經過檢查得知,在 : 后需要添加空格,才能被正確識別。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM