-
-
Notifications
You must be signed in to change notification settings - Fork 203
Closed as not planned
Labels
bug 🔥Something isn't workingSomething isn't workingneeds info ⏳Further information is requiredFurther information is required
Description
Plugin: @hey-api/sdk
Event: operation
Arguments:
[
{
"method": "post",
"operation": {
"id": "loginLoginAccessToken",
"method": "post",
"path": "/api/v1/login/access-token",
"operationId": "login-login_access_token",
"description": "OAuth2 compatible token login, get an access token for future requests",
"summary": "Login Access Token",
"tags": [
"login"
],
"body": {
"mediaType": "application/x-www-form-urlencoded",
"schema": {
"$ref": "#/components/schemas/Body_login-login_access_token",
"accessScopes": [
"both"
]
},
"required": true,
"type": "url-search-params"
},
"responses": {
"200": {
"mediaType": "application/json",
"schema": {
"description": "Successful Response",
"$ref": "#/components/schemas/Token",
"accessScopes": [
"both"
]
}
},
"422": {
"mediaType": "application/json",
"schema": {
"description": "Validation Error",
"$ref": "#/components/schemas/HTTPValidationError",
"accessScopes": [
"both"
]
}
}
}
},
"path": "/api/v1/login/access-token",
"type": "operation"
}
]
Error: Cannot read properties of undefined (reading 'charAt')
Stack Trace:
TypeError: Cannot read properties of undefined (reading 'charAt')
at Object.methodNameBuilder (/home/ayad/Documents/GitHub/beituna/frontend/openapi-ts.config.ts:24:19)
at ay (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:39:712)
at ms (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:39:1167)
at /home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:41:735
at gn.forEach (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:38:1849)
at uy (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:41:592)
at gn.Nc [as handler] (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:42:2210)
at gn.run (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:38:2104)
at Qi (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:9:380)
at async To (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:38:124865)
at async Promise.all (index 0)
at async z$ (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:1338:4634)
at async start (/home/ayad/Documents/GitHub/beituna/frontend/node_modules/@hey-api/openapi-ts/bin/index.cjs:131:21)
Metadata
Metadata
Assignees
Labels
bug 🔥Something isn't workingSomething isn't workingneeds info ⏳Further information is requiredFurther information is required