ssh암복호화 해결 해야함

This commit is contained in:
2025-05-20 19:07:11 +09:00
parent b172945fc5
commit 69aca7ae85
9 changed files with 276 additions and 5 deletions

View File

@ -15,8 +15,24 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
from rest_framework import permissions
schema_view = get_schema_view(
openapi.Info(
title="ToDo API",
default_version='v1',
description="MSA Django Todo API",
),
public=True,
permission_classes=[permissions.AllowAny],
)
urlpatterns = [
path('admin/', admin.site.urls),
]
path('api/ansible/', include('ansible.urls')), # ✅ 추가됨
path('swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
path('redoc/', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
]