Skip to content

Added swagger#22

Open
moonlander101 wants to merge 1 commit into
mainfrom
himath/swagger-ui
Open

Added swagger#22
moonlander101 wants to merge 1 commit into
mainfrom
himath/swagger-ui

Conversation

@moonlander101
Copy link
Copy Markdown

Added base for swagger ui

Copilot AI review requested due to automatic review settings May 8, 2025 17:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds the base setup for integrating Swagger UI documentation into the REST API.

  • Added schema view configuration and URL endpoints for Swagger, Redoc, and JSON documentation in the URL configuration file.
  • Updated Django settings to include the drf_yasg package.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
warehouse_managment/warehouse_managment/urls.py Added new endpoints and schema view configuration for Swagger UI and Redoc.
warehouse_managment/warehouse_managment/settings.py Added 'drf_yasg' to the installed apps.


schema_view = get_schema_view(
openapi.Info(
title="Your API",
Copy link

Copilot AI May 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider updating the API title to more specifically reflect the service name for clearer documentation.

Suggested change
title="Your API",
title="Warehouse Management API",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants