- Config: api-explorer.php (환경, 보안, 캐시 설정) - Migration: api_bookmarks, api_templates, api_histories, api_environments - Model: ApiBookmark, ApiTemplate, ApiHistory, ApiEnvironment - Service: OpenApiParserService, ApiRequestService, ApiExplorerService - Controller: ApiExplorerController (CRUD, 실행, 히스토리) - View: 3-Panel 레이아웃 (sidebar, request, response, history) - Route: 23개 엔드포인트 등록 Swagger UI 대체 개발 도구, HTMX 기반 SPA 경험
15 lines
736 B
PHP
15 lines
736 B
PHP
{{-- 기본 상태 (응답 전) --}}
|
|
<div class="panel-header flex items-center justify-between">
|
|
<h3 class="font-semibold text-gray-700">응답</h3>
|
|
<div id="response-meta" class="text-sm text-gray-500"></div>
|
|
</div>
|
|
|
|
<div class="panel-content">
|
|
<div id="response-content" class="text-center text-gray-400 py-12">
|
|
<svg class="w-12 h-12 mx-auto mb-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
|
|
</svg>
|
|
<p>API를 실행하면 응답이 여기에 표시됩니다</p>
|
|
</div>
|
|
</div>
|