File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/netflix/spinnaker/fiat/controllers Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dependencies {
19
19
implementation " io.spinnaker.kork:kork-plugins"
20
20
implementation " io.spinnaker.kork:kork-web"
21
21
implementation " io.spinnaker.kork:kork-retrofit"
22
- implementation " io.swagger:swagger-annotations"
22
+ implementation " io.swagger.core.v3 :swagger-annotations"
23
23
implementation " net.logstash.logback:logstash-logback-encoder"
24
24
25
25
runtimeOnly " io.spinnaker.kork:kork-runtime"
Original file line number Diff line number Diff line change 30
30
import com .netflix .spinnaker .kork .web .exceptions .InvalidRequestException ;
31
31
import com .netflix .spinnaker .kork .web .exceptions .NotFoundException ;
32
32
import com .netflix .spinnaker .security .AuthenticatedRequest ;
33
- import io .swagger .annotations .ApiOperation ;
33
+ import io .swagger .v3 . oas . annotations .Operation ;
34
34
import java .io .IOException ;
35
35
import java .util .*;
36
36
import java .util .function .Supplier ;
@@ -77,8 +77,8 @@ public AuthorizeController(
77
77
this .getUserPermissionCounterId = registry .createId ("fiat.getUserPermission" );
78
78
}
79
79
80
- @ ApiOperation (
81
- value =
80
+ @ Operation (
81
+ summary =
82
82
"Used mostly for testing. Not really any real value to the rest of "
83
83
+ "the system. Disabled by default." )
84
84
@ RequestMapping (method = RequestMethod .GET )
You can’t perform that action at this time.
0 commit comments