From 8e9b670b272b8f030a1035cb7918e9fc0fea89a5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 7 Dec 2020 18:32:27 +0300 Subject: springfox -> springdoc --- src/main/java/com/juick/www/api/webhooks/TelegramWebhook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/www/api/webhooks') 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 { -- cgit v1.2.3