Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Cannot read property 'toLowerCase' of undefined #165

Open
kotarofunyu opened this issue Dec 16, 2020 · 0 comments
Open

Cannot read property 'toLowerCase' of undefined #165

kotarofunyu opened this issue Dec 16, 2020 · 0 comments

Comments

@kotarofunyu
Copy link

Hi!

I found the problem and couldn't solve it.

when I did snowboard mock api_blueprint.apib, the error below was shown.

✔  Done in 48 ms.
TypeError: Cannot read property 'toLowerCase' of undefined

info

snowboard 4.1.21
npm 6.14.5
macOS Catalina 10.15.4

content of my apib file

FORMAT: 1A

# dietary
dietaryのバックエンドAPI
## 認証
ユーザー情報を返す
## データ
体重データを返す

# Group Users
## User Collection [/users]
### List All Users [GET]
+ Response 200 (application/json)
  [
    {
      "id": 1,
      "name": "hogehoge",
      "email": "[email protected]",
      "uid": "hogehogefugafuga"
    },
    {
      "id": 2,
      "name": "fuga",
      "email": "[email protected]",
      "uid": "fugahogefuga"
    },
  ]
# Group Weights
## Weight Collection [/weights]
### List All Users [GET]

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

No branches or pull requests

1 participant