aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/webhooks
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-12-07 18:32:27 +0300
committerGravatar Vitaly Takmazov2020-12-07 18:33:10 +0300
commit8e9b670b272b8f030a1035cb7918e9fc0fea89a5 (patch)
tree79326bdfb119728a3dea37316c555ea2ca638a73 /src/main/java/com/juick/www/api/webhooks
parent75b985391dc47d11edc87fee099a85dc30edd386 (diff)
springfox -> springdoc
Diffstat (limited to 'src/main/java/com/juick/www/api/webhooks')
-rw-r--r--src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java b/src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java
index 590db060..a3cc2791 100644
--- a/src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java
+++ b/src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java
@@ -20,6 +20,7 @@ package com.juick.www.api.webhooks;
import com.juick.TelegramBotManager;
import com.pengrad.telegrambot.BotUtils;
import com.pengrad.telegrambot.model.Update;
+import io.swagger.v3.oas.annotations.Hidden;
import org.apache.commons.io.IOUtils;
import org.apache.commons.text.StringEscapeUtils;
import org.slf4j.Logger;
@@ -30,7 +31,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
-import springfox.documentation.annotations.ApiIgnore;
import javax.inject.Inject;
import java.io.InputStream;
@@ -39,7 +39,7 @@ import java.nio.charset.StandardCharsets;
/**
* Created by vt on 24/11/2016.
*/
-@ApiIgnore
+@Hidden
@RestController
@ConditionalOnProperty({"telegram_token"})
public class TelegramWebhook {