Error when generating parameters by reference
See original GitHub issueWhen specifying a global parameter in documentation.parameters and referencing to this parameter in the request ('$ref': '#/parameters/someParam') specification an error occurs when generating the client.
(node:93171) UnhandledPromiseRejectionWarning: Error: Request failed with status code 500
at createError (/path/to/project/node_modules/axios/lib/core/createError.js:16:15)
at settle (/path/to/project/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/path/to/project/node_modules/axios/lib/adapters/http.js:237:11)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:93171) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:93171) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.
Hash: 7532bd6d1996f82068cf
Version: webpack 4.35.0
Time: 31ms
Built at: 10/16/2019 11:54:09 AM
ERROR in Entry module not found: Error: Can't resolve './our-project.js' in '/path/to/project/bin/build'
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (14 by maintainers)
Top Results From Across the Web
PHP error: "Cannot pass parameter 2 by reference"
The error means that the 2nd argument is expected to be a reference to a variable. Since you are not handing a variable...
Read more >ReferenceError - JavaScript - MDN Web Docs
The ReferenceError object represents an error when a variable that doesn't exist (or hasn't yet been initialized) in the current scope is ...
Read more >ref keyword - C# Reference - Microsoft Learn
A compiler error occurs if the only difference between two members of a type is that one of them has a ref parameter...
Read more >Passing by Reference - Manual - PHP
Passing by Reference ¶. You can pass a variable by reference to a function so the function can modify the variable. The syntax...
Read more >Parameterize Instances of a Reusable Referenced Model
In the top model, you can configure the diagnostic configuration parameter No explicit final value for model arguments to generate an error or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Currently, you can define the parameter in definition. And then, welcome PR or wait for me of next version .
@mikaelnilsson77 it’s great.