소스 검색

add id resource to api utility tag

tags/v1.5.4
Jonathan Cobb 4 년 전
부모
커밋
b4ac2af2ae
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      bubble-server/src/main/java/bubble/resources/IdentityResource.java

+ 2
- 1
bubble-server/src/main/java/bubble/resources/IdentityResource.java 파일 보기

@@ -33,6 +33,7 @@ import static bubble.ApiConstants.ID_ENDPOINT;
import static org.cobbzilla.util.http.HttpContentTypes.APPLICATION_JSON;
import static org.cobbzilla.util.http.HttpStatusCodes.SC_OK;
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;

@Consumes(APPLICATION_JSON)
@@ -49,7 +50,7 @@ public class IdentityResource {

@GET @Path("/{id}")
@Operation(security=@SecurityRequirement(name=SEC_API_KEY),
tags=API_TAG_BUBBLE_INFO,
tags={API_TAG_BUBBLE_INFO, API_TAG_UTILITY},
summary="Find what object(s) an ID belongs to. Useful when you have a UUID but don't know what kind of thing it refers to, if any.",
description="Searches all model objects by ID. The id parameter is typically a UUID or name",
parameters=@Parameter(name="id", description="an identifier (typically UUID or name) to search for", required=true),


불러오는 중...
취소
저장