We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7689f commit 4c6c1e7Copy full SHA for 4c6c1e7
tools/cli/internal/openapi/filter/sunset.go
@@ -50,9 +50,9 @@ func (f *SunsetFilter) Apply() error {
50
}
51
52
// applyOnOperation removes the "sunset" extension if its value is set to "sunsetToBeDecided".
53
-// The "sunset" extension can be located in two places:
54
-// 1) Within the 20X response
55
-// 2) As part of the operation itself
+// The "sunset" extension can be located in two places.
+// 1) Within the 20X response.
+// 2) As part of the operation itself.
56
func applyOnOperation(op *openapi3.Operation) {
57
// 1) Check the "sunset" extension in the response
58
for key, response := range op.Responses.Map() {
0 commit comments