Document warnings
See original GitHub issueThis 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:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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.
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.