Index: pkg/analysis_server/doc/api.html |
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html |
index 43f096db554922db1fff5f5f519892bd9efe62b5..a91adf5c43f2881c3a66a12d70722443a343635c 100644 |
--- a/pkg/analysis_server/doc/api.html |
+++ b/pkg/analysis_server/doc/api.html |
@@ -61,7 +61,7 @@ dt.typeDefinition { |
</style></head> |
<body> |
<h1>Analysis Server API Specification</h1> |
- <h1 style="color:#999999">Version 1.10.0</h1> |
+ <h1 style="color:#999999">Version 1.11.0</h1> |
<p> |
This document contains a specification of the API provided by the |
analysis server. The API in this document is currently under |
@@ -2380,6 +2380,20 @@ dt.typeDefinition { |
the error. The field is omitted if there is no correction |
message associated with the error code. |
</p> |
+ </dd><dt class="field"><b><i>hasFix ( <span style="color:#999999">optional</span> bool )</i></b></dt><dd> |
+ |
+ <p> |
+ A hint to indicate to interested clients that this error has |
+ an associated fix (or fixes). The absence of this field implies |
+ there are not known to be fixes. Note that since the operation |
+ to calculate whether fixes apply needs to be performant it is |
+ possible that complicated tests will be skipped and a false |
+ negative returned. For this reason, this attribute should be |
+ treated as a "hint". Despite the possibility of false negatives, |
+ no false positives should be returned. If a client sees this |
+ flag set they can proceed with the confidence that there are in |
+ fact associated fixes. |
+ </p> |
</dd></dl></dd><dt class="typeDefinition"><a name="type_AnalysisErrorFixes">AnalysisErrorFixes: object</a></dt><dd> |
<p> |
A list of fixes associated with a specific error |