Azhary Arliansyah

Open Source

Contributions

Contributing to open source projects I use and believe in. Commits, pull requests, code reviews, and more.

3
Contributions
3
Repositories
3
PRs & Reviews

history All Contributions

Add support for description and example tags in request body fields

Implemented support for desc and example struct tags within request body schemas. Previously, Swagno ignored these tags when using endpoint.WithBody(), leaving Swagger UI documentation without field-level descriptions or pre-filled examples for request payloads

#golang #swagger #documentation

Fix root redirection to account for custom Prefix values

Fixed a bug where the redirection to index.html failed to account for custom Prefix configurations. Previously, accessing a base path like /v2/swagger resulted in an incorrect redirection to /swagger/index.html; this fix ensures the logic prepends the custom Prefix to the path correctly.

#golang #gin #swagger #bug-fix

Add Language, StatusCode, and Response fields to Record struct

Enhanced the Casdoor Go SDK by adding missing fields (Language, StatusCode, and Response) to the Record struct. This fix ensures that these values are correctly populated when inserting records using the AddRecord function, resolving issue #216.

#golang #sdk #feature #bug-fix