When I am trying to login then showing the error message . #7195
Replies: 13 comments
-
@Arathy-sivan, could you please provide more information on how to reproduce this problem? Are you using the |
Beta Was this translation helpful? Give feedback.
-
@Arathy-sivan You probably didn't see my comment in the other issue. Please see https://loopback.io/doc/en/lb4/changelog.openapi-v3.html#breaking-changes |
Beta Was this translation helpful? Give feedback.
-
Is this given to "openapi-spec.ts" file?? |
Beta Was this translation helpful? Give feedback.
-
@Arathy-sivan please share a simple app reproducing the error, I will take a look what's going on. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
In the |
Beta Was this translation helpful? Give feedback.
-
Just a friendly heads up, most open source company policies (mine included) disallow downloading unknown ZIP files directly due to security concerns - Please consider creating a GitHub repo that can be cloned by the developers. You can also create a separate GitHub organization just for these things so that it doesn't pollute your main GitHub account - This is what I do with https://github.com/achrinzatest and https://github.com/achrinzafork. |
Beta Was this translation helpful? Give feedback.
-
There is no change in error when changing type |
Beta Was this translation helpful? Give feedback.
-
@Arathy-sivan please share the project on GitHub as mentioned by @achrinza. |
Beta Was this translation helpful? Give feedback.
-
You need to explicitly enforce the inference. Update the definition of your
|
Beta Was this translation helpful? Give feedback.
-
While executing this code results the error shown below: { |
Beta Was this translation helpful? Give feedback.
-
@Arathy-sivan I haven't followed all the discussion but looking at const CredentialsRequestBody: SchemaObject = {
...
'application/json': {schema: CredentialsSchema},
...
}; The type of |
Beta Was this translation helpful? Give feedback.
-
For me the following solution worked.
and then
So I imported Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
My controller is
How to solve this error?
Beta Was this translation helpful? Give feedback.
All reactions