Ver a proveniência

rename upgrade api doc tag

tags/v1.4.42
Jonathan Cobb há 4 anos
ascendente
cometimento
83176efde3
3 ficheiros alterados com 4 adições e 4 eliminações
  1. +1
    -1
      bubble-server/src/main/java/bubble/ApiConstants.java
  2. +2
    -2
      bubble-server/src/main/java/bubble/resources/account/MeResource.java
  3. +1
    -1
      bubble-server/src/main/resources/META-INF/bubble/openapi-tags.json

+ 1
- 1
bubble-server/src/main/java/bubble/ApiConstants.java Ver ficheiro

@@ -310,7 +310,7 @@ public class ApiConstants {
public static final String API_TAG_NODE_MANAGER = "Node Manager";
public static final String API_TAG_PAYMENT = "Payment";
public static final String API_TAG_SEARCH = "Search";
public static final String API_TAG_UPGRADE = "Upgrades";
public static final String API_TAG_UPGRADE_BUBBLE = "Upgrades";

public static String getToken(String json) {
if (json == null) return null;


+ 2
- 2
bubble-server/src/main/java/bubble/resources/account/MeResource.java Ver ficheiro

@@ -554,7 +554,7 @@ public class MeResource {

@GET @Path(EP_UPGRADE)
@Operation(security=@SecurityRequirement(name=SEC_API_KEY),
tags=API_TAG_UPGRADE,
tags=API_TAG_UPGRADE_BUBBLE,
summary="Check for upgrade",
description="Check for upgrade. Must be admin. The check runs in the background, this returns an empty JSON object",
responses=@ApiResponse(responseCode=SC_OK, description="the upgrade check has been started", content=@Content(mediaType=APPLICATION_JSON, examples=@ExampleObject(name="empty JSON object", value="{}")))
@@ -577,7 +577,7 @@ public class MeResource {

@POST @Path(EP_UPGRADE)
@Operation(security=@SecurityRequirement(name=SEC_API_KEY),
tags=API_TAG_UPGRADE,
tags=API_TAG_UPGRADE_BUBBLE,
summary="Upgrade Bubble",
description="Upgrade Bubble. Must be admin. Starts the upgrade process.",
responses=@ApiResponse(responseCode=SC_OK, description="the current public system configs")


+ 1
- 1
bubble-server/src/main/resources/META-INF/bubble/openapi-tags.json Ver ficheiro

@@ -76,7 +76,7 @@
"description": "Search objects in the Bubble database."
},
{
"name": "upgrades",
"name": "upgrade_bubble",
"description": "Check for upgrades. Upgrade your Bubble."
},
{


Carregando…
Cancelar
Guardar