diff --git a/modules/admin-server/src/main/kotlin/com/sphereon/oid/fed/server/admin/controllers/SubordinateController.kt b/modules/admin-server/src/main/kotlin/com/sphereon/oid/fed/server/admin/controllers/SubordinateController.kt index 84359641..23ff1130 100644 --- a/modules/admin-server/src/main/kotlin/com/sphereon/oid/fed/server/admin/controllers/SubordinateController.kt +++ b/modules/admin-server/src/main/kotlin/com/sphereon/oid/fed/server/admin/controllers/SubordinateController.kt @@ -5,7 +5,12 @@ import com.sphereon.oid.fed.openapi.models.SubordinateAdminDTO import com.sphereon.oid.fed.persistence.models.Subordinate import com.sphereon.oid.fed.services.SubordinateService import com.sphereon.oid.fed.services.extensions.toSubordinateAdminDTO -import org.springframework.web.bind.annotation.* +import org.springframework.web.bind.annotation.GetMapping +import org.springframework.web.bind.annotation.PathVariable +import org.springframework.web.bind.annotation.PostMapping +import org.springframework.web.bind.annotation.RequestBody +import org.springframework.web.bind.annotation.RequestMapping +import org.springframework.web.bind.annotation.RestController @RestController @RequestMapping("/accounts/{accountUsername}/subordinates") @@ -25,4 +30,4 @@ class SubordinateController { ): Subordinate { return subordinateService.createSubordinate(accountUsername, subordinate) } -} \ No newline at end of file +}