Skip to content

[docs] fix swag annotations - #263

Open
capcom6 wants to merge 2 commits into
masterfrom
docs/fix-swag-annotations
Open

[docs] fix swag annotations#263
capcom6 wants to merge 2 commits into
masterfrom
docs/fix-swag-annotations

Conversation

@capcom6

@capcom6 capcom6 commented Aug 8, 2026

Copy link
Copy Markdown
Member

Greptile Summary

The PR corrects Swagger annotations for message-list query parameters and updates the generated OpenAPI document.

  • Separates the limit and offset parameter annotations.
  • Uses the processing-state type to generate the complete state enum.
  • Corrects OpenAPI constraint keywords for device IDs and pagination limits.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the previously reported concatenated parameter annotation is fixed in the current code and reflected correctly in the generated OpenAPI output.

Important Files Changed

Filename Overview
internal/sms-gateway/handlers/messages/3rdparty.go Corrects message-list Swagger annotations; the previously concatenated limit and offset directives are now separate and parser-valid.
internal/sms-gateway/openapi/docs.go Regenerates the OpenAPI document with distinct limit and offset parameters and the corrected schemas.

Reviews (2): Last reviewed commit: "[docs] minor fixes" | Re-trigger Greptile

Comment thread internal/sms-gateway/handlers/messages/3rdparty.go Outdated
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

🤖 Pull request artifacts

Platform File
🐳 Docker GitHub Container Registry
🍎 Darwin arm64 server_Darwin_arm64.tar.gz
🍎 Darwin x86_64 server_Darwin_x86_64.tar.gz
🐧 Linux arm64 server_Linux_arm64.tar.gz
🐧 Linux i386 server_Linux_i386.tar.gz
🐧 Linux x86_64 server_Linux_x86_64.tar.gz
🪟 Windows arm64 server_Windows_arm64.zip
🪟 Windows i386 server_Windows_i386.zip
🪟 Windows x86_64 server_Windows_x86_64.zip

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.

1 participant