Sfoglia il codice sorgente

update api docs

tags/v1.4.42
Jonathan Cobb 4 anni fa
parent
commit
76ceab2f00
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      bubble-server/src/main/java/bubble/resources/stream/FilterHttpResource.java

+ 3
- 2
bubble-server/src/main/java/bubble/resources/stream/FilterHttpResource.java Vedi File

@@ -82,6 +82,7 @@ import static org.cobbzilla.util.string.StringUtil.trimQuotes;
import static org.cobbzilla.wizard.cache.redis.RedisService.EX;
import static org.cobbzilla.wizard.model.NamedEntity.names;
import static org.cobbzilla.wizard.resources.ResourceUtil.*;
import static org.cobbzilla.wizard.server.config.OpenApiConfiguration.API_TAG_UTILITY;
import static org.cobbzilla.wizard.server.config.OpenApiConfiguration.SEC_API_KEY;

@Path(FILTER_HTTP_ENDPOINT)
@@ -461,7 +462,7 @@ public class FilterHttpResource {
@DELETE
@Produces(APPLICATION_JSON)
@Operation(security=@SecurityRequirement(name=SEC_API_KEY),
tags={API_TAG_MITMPROXY, API_TAG_DEVICES},
tags={API_TAG_MITMPROXY, API_TAG_DEVICES, API_TAG_UTILITY},
summary="Flush caches",
description="Flushes caches of: connection decisions, matchers and rules",
responses=@ApiResponse(responseCode=SC_OK, description="a JSON object showing what was flushed")
@@ -485,7 +486,7 @@ public class FilterHttpResource {
@DELETE @Path(EP_MATCHERS)
@Produces(APPLICATION_JSON)
@Operation(security=@SecurityRequirement(name=SEC_API_KEY),
tags={API_TAG_MITMPROXY, API_TAG_DEVICES},
tags={API_TAG_MITMPROXY, API_TAG_DEVICES, API_TAG_UTILITY},
summary="Flush matchers",
description="Flushes matchers only",
responses=@ApiResponse(responseCode=SC_OK, description="an integer representing how many cache entries were flushed")


Caricamento…
Annulla
Salva