question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document warnings

See original GitHub issue

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x ] Documentation issue or request

Description

Add docs for warnings, eg:

  • Unable to determine the scheme to use: OpenAPI specification does not provide a `schemes’ definition and the specification was uploaded so the originating URL is lost.
  • Operation PUT /api/fruits/{id} does not provide a response schema for code 201
  • Operation DELETE /api/fruits/{id} does not provide a response schema for code 204

user is unsure what to do

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
TovaCohencommented, Dec 2, 2019

If the error message gets reworded, I would use complete sentences, something like:

The OpenAPI document does not define a response type for the xyz operation. You can ignore this if type information is not needed in the integration flow. If type information is needed in the flow, for example to map response data, define the response type in the OpenAPI document.

1reaction
zregvartcommented, Nov 28, 2019

We can certainly reword those messages to make them a bit clearer. @pwright what bits you found unclear that need more explaining?

Other than that we should not be warning about missing response schema for 204, that HTTP status denotes that there will be no response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notes, cautions, warnings, and other notices
Google developer documentation style guide ... Warning: Stronger than a caution notice; it means "Don't do this" or that this step might be ......
Read more >
warnings — Warning control — Python 3.11.1 documentation
Warning messages are typically issued in situations where it is useful to alert the user of some condition in a program, where that...
Read more >
Security warnings when a PDF opens - Adobe Support
The warning is asking whether you trust the people who sent you the PDF or the site in which the PDF is displayed....
Read more >
How to Write Notes, Cautions, and Warnings
... Cautions, Warnings are important components of a technical documents. Neglecting them can cause errors and much more in your documentation.
Read more >
Manage warnings about unsafe sites - Google Chrome Help
View unsafe sites & downloads. You can visit a page or access a downloaded file that shows a warning. This isn't recommended. Visit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found