From 66c0d99252eb1eddbf5edd606aeb60e134248d21 Mon Sep 17 00:00:00 2001 From: Alexander Chepurnoy Date: Fri, 8 Sep 2023 20:40:48 +0300 Subject: [PATCH] api method description improved --- src/main/resources/api/openapi.yaml | 2 +- src/main/scala/org/ergoplatform/http/api/ScanApiRoute.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/api/openapi.yaml b/src/main/resources/api/openapi.yaml index 92965223aa..af4b22671b 100644 --- a/src/main/resources/api/openapi.yaml +++ b/src/main/resources/api/openapi.yaml @@ -5554,7 +5554,7 @@ paths: post: security: - ApiKeyAuth: [api_key] - summary: Create custom scan to track P2S address + summary: Create and register a scan to track P2S address provided operationId: scriptP2SRule tags: - scan diff --git a/src/main/scala/org/ergoplatform/http/api/ScanApiRoute.scala b/src/main/scala/org/ergoplatform/http/api/ScanApiRoute.scala index 446f13284b..f99af46995 100644 --- a/src/main/scala/org/ergoplatform/http/api/ScanApiRoute.scala +++ b/src/main/scala/org/ergoplatform/http/api/ScanApiRoute.scala @@ -16,7 +16,7 @@ import ScanEntities._ import org.ergoplatform.ErgoBox.R1 import org.ergoplatform.wallet.Constants.ScanId import sigmastate.Values.ByteArrayConstant -import sigmastate.serialization.{ErgoTreeSerializer, ValueSerializer} +import sigmastate.serialization.ErgoTreeSerializer /** * This class contains methods to register / deregister and list external scans, and also to serve them.