File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 5858 "code" : " Code" ,
5959 "default" : " Default"
6060 },
61- "status" : {
62- "excluded" : " Not included in Swagger" ,
63- "missingconfig" : " Swagger config not set"
64- },
6561 "helpBox" : {
6662 "title" : " I see you're lacking Swagger doc..." ,
6763 "swaggerIntro" : " Swagger is a simple yet powerful way to document your REST API." ,
Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ module.exports = function(RED) {
107107 }
108108 } ;
109109 }
110- node . status ( { } ) ;
111110 } else {
112111 swaggerPart . summary = node . name || ( node . method + " " + url ) ;
113112 swaggerPart . responses = {
@@ -118,11 +117,8 @@ module.exports = function(RED) {
118117 if ( additionalParams ) {
119118 swaggerPart . parameters = additionalParams . slice ( ) ;
120119 }
121- node . status ( { fill :"yellow" , shape :"ring" , text :"node-red-node-swagger/swagger:swagger.status.missingconfig" } ) ;
122120 }
123121 resp . paths [ url ] [ node . method ] = swaggerPart ;
124- } else {
125- node . status ( { fill :"grey" , shape :"ring" , text :"node-red-node-swagger/swagger:swagger.status.excluded" } ) ;
126122 }
127123 }
128124 } ) ;
You can’t perform that action at this time.
0 commit comments