{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.lab.dev.lumosgraphy.com","description":"Generated server url"}],"paths":{"/api/rag/vector-search":{"post":{"tags":["rag-controller"],"operationId":"vectorSearch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagSearchRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRagSearchResponse"}}}}}}},"/api/rag/documents":{"get":{"tags":["rag-controller"],"operationId":"documents","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRagDocumentResponse"}}}}}},"post":{"tags":["rag-controller"],"operationId":"addDocument","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagDocumentRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRagDocumentResponse"}}}}}},"delete":{"tags":["rag-controller"],"operationId":"resetDocuments","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRagDocumentResponse"}}}}}}},"/api/rag/ask":{"post":{"tags":["rag-controller"],"operationId":"ask","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagQuestionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseRagAnswerResponse"}}}}}}},"/api/patterns/strategy/run":{"post":{"tags":["strategy-pattern-controller"],"operationId":"run","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StrategyPatternRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStrategyPatternResponse"}}}}}}},"/api/patterns/observer/run":{"post":{"tags":["observer-pattern-controller"],"operationId":"run_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObserverPatternRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseObserverPatternResponse"}}}}}}},"/api/patterns/factory/run":{"post":{"tags":["factory-pattern-controller"],"operationId":"run_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactoryPatternRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseFactoryPatternResponse"}}}}}}},"/api/patterns/decorator/run":{"post":{"tags":["decorator-pattern-controller"],"operationId":"run_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecoratorPatternRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDecoratorPatternResponse"}}}}}}},"/api/patterns/command/run":{"post":{"tags":["command-pattern-controller"],"operationId":"run_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandPatternRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCommandPatternResponse"}}}}}}},"/api/java/io-string/parse":{"post":{"tags":["java-io-string-controller"],"operationId":"parse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IoStringParseRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIoStringParseResponse"}}}}}}},"/api/java/io-string/concat":{"post":{"tags":["java-io-string-controller"],"operationId":"concat","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IoStringConcatRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseIoStringConcatResponse"}}}}}}},"/api/java/exception/demo":{"post":{"tags":["java-exception-controller"],"operationId":"demo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionDemoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseExceptionDemoResponse"}}}}}}},"/api/java/equality/demo":{"post":{"tags":["java-equality-controller"],"operationId":"demo_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EqualityDemoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseEqualityDemoResponse"}}}}}}},"/api/java/concurrency/demo":{"post":{"tags":["java-concurrency-controller"],"operationId":"demo_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConcurrencyDemoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseConcurrencyDemoResponse"}}}}}}},"/api/java/collections/demo":{"post":{"tags":["java-collection-controller"],"operationId":"demo_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionDemoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCollectionDemoResponse"}}}}}}},"/api/datastructures/stack/push":{"post":{"tags":["stack-controller"],"operationId":"push","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackPushRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStackResponse"}}}}}}},"/api/datastructures/stack/pop":{"post":{"tags":["stack-controller"],"operationId":"pop","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStackResponse"}}}}}}},"/api/datastructures/stack/peek":{"post":{"tags":["stack-controller"],"operationId":"peek","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStackResponse"}}}}}}},"/api/datastructures/queue/poll":{"post":{"tags":["queue-controller"],"operationId":"poll","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQueueResponse"}}}}}}},"/api/datastructures/queue/peek":{"post":{"tags":["queue-controller"],"operationId":"peek_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQueueResponse"}}}}}}},"/api/datastructures/queue/offer":{"post":{"tags":["queue-controller"],"operationId":"offer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueOfferRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQueueResponse"}}}}}}},"/api/datastructures/heap/poll":{"post":{"tags":["heap-controller"],"operationId":"poll_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeapActionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseHeapResponse"}}}}}}},"/api/datastructures/heap/peek":{"post":{"tags":["heap-controller"],"operationId":"peek_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeapActionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseHeapResponse"}}}}}}},"/api/datastructures/heap/offer":{"post":{"tags":["heap-controller"],"operationId":"offer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeapOfferRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseHeapResponse"}}}}}}},"/api/datastructures/graph/traverse":{"post":{"tags":["graph-traversal-controller"],"operationId":"traverse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphTraversalRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGraphTraversalResponse"}}}}}}},"/api/database/bulk-insert/simulate":{"post":{"tags":["bulk-insert-controller"],"operationId":"simulate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkInsertSimulationRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBulkInsertSimulationResponse"}}}}}}},"/api/database/bulk-insert/run":{"post":{"tags":["bulk-insert-controller"],"operationId":"run_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkInsertRunRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseBulkInsertRunResponse"}}}}}}},"/api/concepts/transactional/run/{scenario}":{"post":{"tags":["transactional-controller"],"operationId":"run_6","parameters":[{"name":"scenario","in":"path","required":true,"schema":{"type":"string","enum":["NORMAL_COMMIT","RUNTIME_EXCEPTION_ROLLBACK","CHECKED_EXCEPTION_DEFAULT_COMMIT","CHECKED_EXCEPTION_ROLLBACK_FOR"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionalRunRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTransactionalResponse"}}}}}}},"/api/concepts/sync-async/sync":{"post":{"tags":["sync-async-controller"],"operationId":"runSync","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTaskResponse"}}}}}}},"/api/concepts/sync-async/async":{"post":{"tags":["sync-async-controller"],"operationId":"runAsync","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseTaskResponse"}}}}}}},"/api/concepts/grpc/explain":{"post":{"tags":["grpc-concept-controller"],"operationId":"explain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrpcExplainRequest"}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseGrpcExplainResponse"}}}}}}},"/api/backend/security-auth/oauth/callback":{"post":{"tags":["security-auth-controller"],"operationId":"oauthCallback","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthCallbackRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseOAuthMockResponse"}}}}}}},"/api/backend/security-auth/login":{"post":{"tags":["security-auth-controller"],"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JwtLoginRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAuthTokenResponse"}}}}}}},"/api/algorithms/sort":{"post":{"tags":["sort-controller"],"operationId":"sort","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SortRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSortResponse"}}}}}}},"/api/algorithms/search":{"post":{"tags":["search-controller"],"operationId":"search","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSearchResponse"}}}}}}},"/api/java/collections/compare":{"get":{"tags":["java-collection-controller"],"operationId":"compare","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCollectionCompareResponse"}}}}}}},"/api/health":{"get":{"tags":["health-controller"],"operationId":"health","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseMapStringObject"}}}}}}},"/api/datastructures/stack":{"get":{"tags":["stack-controller"],"operationId":"current","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStackResponse"}}}}}},"delete":{"tags":["stack-controller"],"operationId":"clear","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseStackResponse"}}}}}}},"/api/datastructures/queue":{"get":{"tags":["queue-controller"],"operationId":"current_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQueueResponse"}}}}}},"delete":{"tags":["queue-controller"],"operationId":"clear_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseQueueResponse"}}}}}}},"/api/datastructures/heap":{"get":{"tags":["heap-controller"],"operationId":"current_2","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"MIN","enum":["MIN","MAX"]}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseHeapResponse"}}}}}},"delete":{"tags":["heap-controller"],"operationId":"clear_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeapActionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseHeapResponse"}}}}}}},"/api/datastructures/graph/types":{"get":{"tags":["graph-traversal-controller"],"operationId":"types","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListGraphTraversalType"}}}}}}},"/api/database/info":{"get":{"tags":["database-info-controller"],"operationId":"info","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDatabaseInfoResponse"}}}}}}},"/api/concepts/transactional/logs":{"get":{"tags":["transactional-controller"],"operationId":"logs","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTransactionalLogResponse"}}}}}},"delete":{"tags":["transactional-controller"],"operationId":"clearLogs","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListTransactionalLogResponse"}}}}}}},"/api/backend/security-auth/protected":{"get":{"tags":["security-auth-controller"],"operationId":"protectedResource","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"type":"string"}},{"name":"requiredRole","in":"query","required":false,"schema":{"type":"string","default":"USER"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseProtectedResourceResponse"}}}}}}},"/api/algorithms/sort/types":{"get":{"tags":["sort-controller"],"operationId":"types_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSortType"}}}}}}},"/api/algorithms/search/types":{"get":{"tags":["search-controller"],"operationId":"types_2","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListSearchType"}}}}}}}},"components":{"schemas":{"ApiResponseVoid":{"type":"object","properties":{"success":{"type":"boolean"},"data":{},"message":{"type":"string"}}},"RagSearchRequest":{"type":"object","properties":{"query":{"type":"string","minLength":1},"topK":{"type":"integer","format":"int32","maximum":8,"minimum":1}},"required":["query"]},"ApiResponseRagSearchResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/RagSearchResponse"},"message":{"type":"string"}}},"RagSearchHit":{"type":"object","properties":{"documentId":{"type":"integer","format":"int32"},"title":{"type":"string"},"source":{"type":"string"},"chunkIndex":{"type":"integer","format":"int32"},"chunk":{"type":"string"},"score":{"type":"number","format":"double"},"matchedKeywords":{"type":"array","items":{"type":"string"}}}},"RagSearchResponse":{"type":"object","properties":{"query":{"type":"string"},"topK":{"type":"integer","format":"int32"},"queryKeywords":{"type":"array","items":{"type":"string"}},"hits":{"type":"array","items":{"$ref":"#/components/schemas/RagSearchHit"}},"steps":{"type":"array","items":{"type":"string"}}}},"RagDocumentRequest":{"type":"object","properties":{"title":{"type":"string","maxLength":80,"minLength":0},"content":{"type":"string","maxLength":2000,"minLength":0},"source":{"type":"string","maxLength":120,"minLength":0}},"required":["content","title"]},"ApiResponseRagDocumentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/RagDocumentResponse"},"message":{"type":"string"}}},"RagDocumentResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"title":{"type":"string"},"source":{"type":"string"},"content":{"type":"string"},"chunks":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time"},"steps":{"type":"array","items":{"type":"string"}}}},"RagQuestionRequest":{"type":"object","properties":{"question":{"type":"string","minLength":1},"topK":{"type":"integer","format":"int32","maximum":8,"minimum":1}},"required":["question"]},"ApiResponseRagAnswerResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/RagAnswerResponse"},"message":{"type":"string"}}},"RagAnswerResponse":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"},"citations":{"type":"array","items":{"$ref":"#/components/schemas/RagCitation"}},"retrieval":{"$ref":"#/components/schemas/RagSearchResponse"},"steps":{"type":"array","items":{"type":"string"}}}},"RagCitation":{"type":"object","properties":{"documentId":{"type":"integer","format":"int32"},"title":{"type":"string"},"source":{"type":"string"},"chunkIndex":{"type":"integer","format":"int32"},"quote":{"type":"string"}}},"StrategyPatternRequest":{"type":"object","properties":{"grade":{"type":"string"},"amount":{"type":"integer","format":"int32"}}},"ApiResponseStrategyPatternResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/StrategyPatternResponse"},"message":{"type":"string"}}},"StrategyPatternResponse":{"type":"object","properties":{"title":{"type":"string"},"selectedStrategy":{"type":"string"},"originalAmount":{"type":"integer","format":"int32"},"discountAmount":{"type":"integer","format":"int32"},"finalAmount":{"type":"integer","format":"int32"},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"ObserverPatternRequest":{"type":"object","properties":{"event":{"type":"string"}}},"ApiResponseObserverPatternResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ObserverPatternResponse"},"message":{"type":"string"}}},"ObserverPatternResponse":{"type":"object","properties":{"title":{"type":"string"},"result":{"type":"string"},"subscribers":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"FactoryPatternRequest":{"type":"object","properties":{"channel":{"type":"string"}}},"ApiResponseFactoryPatternResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/FactoryPatternResponse"},"message":{"type":"string"}}},"FactoryPatternResponse":{"type":"object","properties":{"title":{"type":"string"},"selectedClass":{"type":"string"},"result":{"type":"string"},"participants":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"DecoratorPatternRequest":{"type":"object","properties":{"option":{"type":"string"}}},"ApiResponseDecoratorPatternResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DecoratorPatternResponse"},"message":{"type":"string"}}},"DecoratorPatternResponse":{"type":"object","properties":{"title":{"type":"string"},"result":{"type":"string"},"cost":{"type":"integer","format":"int32"},"decorators":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"CommandPatternRequest":{"type":"object","properties":{"action":{"type":"string"}}},"ApiResponseCommandPatternResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/CommandPatternResponse"},"message":{"type":"string"}}},"CommandPatternResponse":{"type":"object","properties":{"title":{"type":"string"},"status":{"type":"string"},"history":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"IoStringParseRequest":{"type":"object","properties":{"text":{"type":"string","minLength":1},"delimiter":{"type":"string","minLength":1}},"required":["delimiter","text"]},"ApiResponseIoStringParseResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/IoStringParseResponse"},"message":{"type":"string"}}},"IoStringParseResponse":{"type":"object","properties":{"scannerTokens":{"type":"array","items":{"type":"string"}},"stringTokenizerTokens":{"type":"array","items":{"type":"string"}},"splitTokens":{"type":"array","items":{"type":"string"}},"recommendation":{"type":"string"},"codeExample":{"type":"string"}}},"IoStringConcatRequest":{"type":"object","properties":{"word":{"type":"string","minLength":1},"repeatCount":{"type":"integer","format":"int32","maximum":10000,"minimum":1}},"required":["word"]},"ApiResponseIoStringConcatResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/IoStringConcatResponse"},"message":{"type":"string"}}},"IoStringConcatResponse":{"type":"object","properties":{"stringBuilderResult":{"type":"string"},"stringBufferResult":{"type":"string"},"resultLength":{"type":"integer","format":"int32"},"observations":{"type":"array","items":{"type":"string"}},"codeExample":{"type":"string"}}},"ExceptionDemoRequest":{"type":"object","properties":{"scenario":{"type":"string","minLength":1}},"required":["scenario"]},"ApiResponseExceptionDemoResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ExceptionDemoResponse"},"message":{"type":"string"}}},"ExceptionDemoResponse":{"type":"object","properties":{"kind":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}},"whenToUse":{"type":"string"},"codeExample":{"type":"string"}}},"EqualityDemoRequest":{"type":"object","properties":{"scenario":{"type":"string","minLength":1}},"required":["scenario"]},"ApiResponseEqualityDemoResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/EqualityDemoResponse"},"message":{"type":"string"}}},"EqualityDemoResponse":{"type":"object","properties":{"scenario":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/EqualityResult"}},"warning":{"type":"string"},"codeExample":{"type":"string"}}},"EqualityResult":{"type":"object","properties":{"expression":{"type":"string"},"value":{"type":"boolean"},"reason":{"type":"string"}}},"ConcurrencyDemoRequest":{"type":"object","properties":{"scenario":{"type":"string","minLength":1},"taskCount":{"type":"integer","format":"int32","maximum":10,"minimum":1}},"required":["scenario"]},"ApiResponseConcurrencyDemoResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ConcurrencyDemoResponse"},"message":{"type":"string"}}},"ConcurrencyDemoResponse":{"type":"object","properties":{"scenario":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}},"caution":{"type":"string"},"codeExample":{"type":"string"}}},"CollectionDemoRequest":{"type":"object","properties":{"collectionType":{"type":"string","minLength":1},"operation":{"type":"string","minLength":1},"values":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["collectionType","operation","values"]},"ApiResponseCollectionDemoResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/CollectionDemoResponse"},"message":{"type":"string"}}},"CollectionDemoResponse":{"type":"object","properties":{"collectionType":{"type":"string"},"operation":{"type":"string"},"finalState":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string"}},"codeExample":{"type":"string"}}},"StackPushRequest":{"type":"object","properties":{"value":{"type":"integer","format":"int32"}},"required":["value"]},"ApiResponseStackResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/StackResponse"},"message":{"type":"string"}}},"StackResponse":{"type":"object","properties":{"values":{"type":"array","items":{"type":"integer","format":"int32"}},"top":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"lastAction":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}}}},"ApiResponseQueueResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/QueueResponse"},"message":{"type":"string"}}},"QueueResponse":{"type":"object","properties":{"values":{"type":"array","items":{"type":"integer","format":"int32"}},"front":{"type":"integer","format":"int32"},"rear":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"lastAction":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}}}},"QueueOfferRequest":{"type":"object","properties":{"value":{"type":"integer","format":"int32"}},"required":["value"]},"HeapActionRequest":{"type":"object","properties":{"type":{"type":"string","enum":["MIN","MAX"]}},"required":["type"]},"ApiResponseHeapResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/HeapResponse"},"message":{"type":"string"}}},"HeapResponse":{"type":"object","properties":{"type":{"type":"string","enum":["MIN","MAX"]},"heapOrder":{"type":"array","items":{"type":"integer","format":"int32"}},"priorityOrder":{"type":"array","items":{"type":"integer","format":"int32"}},"root":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"lastAction":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}}}},"HeapOfferRequest":{"type":"object","properties":{"type":{"type":"string","enum":["MIN","MAX"]},"value":{"type":"integer","format":"int32"}},"required":["type","value"]},"GraphEdge":{"type":"object","properties":{"from":{"type":"string","minLength":1},"to":{"type":"string","minLength":1}},"required":["from","to"]},"GraphTraversalRequest":{"type":"object","properties":{"type":{"type":"string","enum":["BFS","DFS"]},"start":{"type":"string","minLength":1},"directed":{"type":"boolean"},"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"},"minItems":1}},"required":["edges","start","type"]},"ApiResponseGraphTraversalResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/GraphTraversalResponse"},"message":{"type":"string"}}},"GraphTraversalResponse":{"type":"object","properties":{"type":{"type":"string","enum":["BFS","DFS"]},"start":{"type":"string"},"directed":{"type":"boolean"},"adjacencyList":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"visitedOrder":{"type":"array","items":{"type":"string"}},"visitedCount":{"type":"integer","format":"int32"},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"BulkInsertSimulationRequest":{"type":"object","properties":{"rowCount":{"type":"integer","format":"int32","maximum":100000,"minimum":1},"batchSize":{"type":"integer","format":"int32","maximum":5000,"minimum":1},"mode":{"type":"string","minLength":1}},"required":["mode"]},"ApiResponseBulkInsertSimulationResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/BulkInsertSimulationResponse"},"message":{"type":"string"}}},"BulkInsertSimulationResponse":{"type":"object","properties":{"mode":{"type":"string"},"rowCount":{"type":"integer","format":"int32"},"batchSize":{"type":"integer","format":"int32"},"roundTrips":{"type":"integer","format":"int32"},"transactionCount":{"type":"integer","format":"int32"},"steps":{"type":"array","items":{"type":"string"}},"recommendation":{"type":"string"},"codeExample":{"type":"string"}}},"BulkInsertRunRequest":{"type":"object","properties":{"rowCount":{"type":"integer","format":"int32","maximum":5000,"minimum":1},"batchSize":{"type":"integer","format":"int32","maximum":1000,"minimum":1},"mode":{"type":"string","minLength":1}},"required":["mode"]},"ApiResponseBulkInsertRunResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/BulkInsertRunResponse"},"message":{"type":"string"}}},"BulkInsertRunResponse":{"type":"object","properties":{"mode":{"type":"string"},"insertedRows":{"type":"integer","format":"int32"},"batchSize":{"type":"integer","format":"int32"},"elapsedMillis":{"type":"integer","format":"int64"},"steps":{"type":"array","items":{"type":"string"}},"codeExample":{"type":"string"}}},"TransactionalRunRequest":{"type":"object","properties":{"label":{"type":"string"}}},"ApiResponseTransactionalResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TransactionalResponse"},"message":{"type":"string"}}},"TransactionalLogResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"scenario":{"type":"string"},"message":{"type":"string"},"createdAt":{"type":"string"}}},"TransactionalResponse":{"type":"object","properties":{"scenario":{"type":"string","enum":["NORMAL_COMMIT","RUNTIME_EXCEPTION_ROLLBACK","CHECKED_EXCEPTION_DEFAULT_COMMIT","CHECKED_EXCEPTION_ROLLBACK_FOR"]},"result":{"type":"string"},"beforeCount":{"type":"integer","format":"int32"},"afterCount":{"type":"integer","format":"int32"},"beforeLogs":{"type":"array","items":{"$ref":"#/components/schemas/TransactionalLogResponse"}},"afterLogs":{"type":"array","items":{"$ref":"#/components/schemas/TransactionalLogResponse"}},"steps":{"type":"array","items":{"type":"string"}}}},"TaskRequest":{"type":"object","properties":{"delaysMillis":{"type":"array","items":{"type":"integer","format":"int32","maximum":3000,"minimum":100},"minItems":1}},"required":["delaysMillis"]},"ApiResponseTaskResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaskResponse"},"message":{"type":"string"}}},"TaskResponse":{"type":"object","properties":{"mode":{"type":"string"},"delaysMillis":{"type":"array","items":{"type":"integer","format":"int32"}},"results":{"type":"array","items":{"$ref":"#/components/schemas/TaskResult"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedMillis":{"type":"integer","format":"int64"}}},"TaskResult":{"type":"object","properties":{"taskNumber":{"type":"integer","format":"int32"},"delayMillis":{"type":"integer","format":"int32"},"message":{"type":"string"}}},"GrpcExplainRequest":{"type":"object","properties":{"keyword":{"type":"string"}}},"ApiResponseGrpcExplainResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/GrpcExplainResponse"},"message":{"type":"string"}}},"GrpcExplainResponse":{"type":"object","properties":{"concept":{"type":"string"},"summary":{"type":"string"},"transport":{"type":"string"},"steps":{"type":"array","items":{"type":"string"}},"serverThread":{"type":"string"},"handledAt":{"type":"string"}}},"OAuthCallbackRequest":{"type":"object","properties":{"provider":{"type":"string","minLength":1},"code":{"type":"string","minLength":1}},"required":["code","provider"]},"ApiResponseOAuthMockResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/OAuthMockResponse"},"message":{"type":"string"}}},"AuthTokenResponse":{"type":"object","properties":{"accessToken":{"type":"string"},"tokenType":{"type":"string"},"issuedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"decodedHeader":{"type":"object","additionalProperties":{}},"decodedPayload":{"type":"object","additionalProperties":{}},"steps":{"type":"array","items":{"type":"string"}}}},"OAuthMockResponse":{"type":"object","properties":{"provider":{"type":"string"},"authorizationCode":{"type":"string"},"providerAccessToken":{"type":"string"},"providerUserInfo":{"type":"object","additionalProperties":{}},"serviceToken":{"$ref":"#/components/schemas/AuthTokenResponse"},"steps":{"type":"array","items":{"type":"string"}}}},"JwtLoginRequest":{"type":"object","properties":{"username":{"type":"string","minLength":1},"password":{"type":"string","minLength":1},"role":{"type":"string"},"ttlSeconds":{"type":"integer","format":"int32"}},"required":["password","username"]},"ApiResponseAuthTokenResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/AuthTokenResponse"},"message":{"type":"string"}}},"SortRequest":{"type":"object","properties":{"type":{"type":"string","enum":["BUBBLE","SELECTION","INSERTION","QUICK","MERGE","HEAP"]},"numbers":{"type":"array","items":{"type":"integer","format":"int32"},"minItems":1}},"required":["numbers","type"]},"ApiResponseSortResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/SortResponse"},"message":{"type":"string"}}},"SortResponse":{"type":"object","properties":{"type":{"type":"string","enum":["BUBBLE","SELECTION","INSERTION","QUICK","MERGE","HEAP"]},"original":{"type":"array","items":{"type":"integer","format":"int32"}},"sorted":{"type":"array","items":{"type":"integer","format":"int32"}},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"SearchRequest":{"type":"object","properties":{"type":{"type":"string","enum":["LINEAR","BINARY"]},"numbers":{"type":"array","items":{"type":"integer","format":"int32"},"minItems":1},"target":{"type":"integer","format":"int32"}},"required":["numbers","target","type"]},"ApiResponseSearchResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/SearchResponse"},"message":{"type":"string"}}},"SearchResponse":{"type":"object","properties":{"type":{"type":"string","enum":["LINEAR","BINARY"]},"original":{"type":"array","items":{"type":"integer","format":"int32"}},"searchedArray":{"type":"array","items":{"type":"integer","format":"int32"}},"target":{"type":"integer","format":"int32"},"found":{"type":"boolean"},"index":{"type":"integer","format":"int32"},"comparisons":{"type":"integer","format":"int32"},"steps":{"type":"array","items":{"type":"string"}},"elapsedNanos":{"type":"integer","format":"int64"}}},"ApiResponseListRagDocumentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RagDocumentResponse"}},"message":{"type":"string"}}},"ApiResponseCollectionCompareResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/CollectionCompareResponse"},"message":{"type":"string"}}},"CollectionCompareItem":{"type":"object","properties":{"name":{"type":"string"},"category":{"type":"string"},"order":{"type":"string"},"duplicate":{"type":"string"},"mainUseCase":{"type":"string"},"averageAccess":{"type":"string"},"averageInsert":{"type":"string"},"averageSearch":{"type":"string"}}},"CollectionCompareResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/CollectionCompareItem"}},"recommendation":{"type":"string"},"codeExample":{"type":"string"}}},"ApiResponseMapStringObject":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","additionalProperties":{}},"message":{"type":"string"}}},"ApiResponseListGraphTraversalType":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"string","enum":["BFS","DFS"]}},"message":{"type":"string"}}},"ApiResponseDatabaseInfoResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DatabaseInfoResponse"},"message":{"type":"string"}}},"DatabaseInfoResponse":{"type":"object","properties":{"databaseProductName":{"type":"string"},"databaseProductVersion":{"type":"string"},"driverName":{"type":"string"},"url":{"type":"string"},"username":{"type":"string"},"activeProfiles":{"type":"array","items":{"type":"string"}}}},"ApiResponseListTransactionalLogResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TransactionalLogResponse"}},"message":{"type":"string"}}},"ApiResponseProtectedResourceResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ProtectedResourceResponse"},"message":{"type":"string"}}},"ProtectedResourceResponse":{"type":"object","properties":{"authenticated":{"type":"boolean"},"authorized":{"type":"boolean"},"requiredRole":{"type":"string"},"username":{"type":"string"},"role":{"type":"string"},"claims":{"type":"object","additionalProperties":{}},"steps":{"type":"array","items":{"type":"string"}}}},"ApiResponseListSortType":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"string","enum":["BUBBLE","SELECTION","INSERTION","QUICK","MERGE","HEAP"]}},"message":{"type":"string"}}},"ApiResponseListSearchType":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"string","enum":["LINEAR","BINARY"]}},"message":{"type":"string"}}}}}}