[PR #11] [MERGED] Ensure PascalCase serialization for policy generation types #173

Closed
opened 2026-03-15 11:51:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/awslabs/iam-policy-autopilot/pull/11
Author: @adpaco-aws
Created: 11/21/2025
Status: Merged
Merged: 11/21/2025
Merged by: @adpaco-aws

Base: prereleaseHead: fix-serialize-policy-generation


📝 Commits (1)

  • 811ee12 Ensure PascalCase serialization for policy generation types

📊 Changes

1 file changed (+60 additions, -0 deletions)

View changed files

📝 iam-policy-autopilot-policy-generation/src/policy_generation/mod.rs (+60 -0)

📄 Description

Description of changes: Adds PascalCase serialization for ActionMapping and MethodActionMapping which were missing it. Adds tests for the serialization of these types in addition to another test focused on policy_type serialization.

Note: We are making updates to ensure PascalCase serialization across our public types, this PR covers the policy generation package.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/awslabs/iam-policy-autopilot/pull/11 **Author:** [@adpaco-aws](https://github.com/adpaco-aws) **Created:** 11/21/2025 **Status:** ✅ Merged **Merged:** 11/21/2025 **Merged by:** [@adpaco-aws](https://github.com/adpaco-aws) **Base:** `prerelease` ← **Head:** `fix-serialize-policy-generation` --- ### 📝 Commits (1) - [`811ee12`](https://github.com/awslabs/iam-policy-autopilot/commit/811ee1235ea6de09c2ae54cee42b037f67ae87d5) Ensure PascalCase serialization for policy generation types ### 📊 Changes **1 file changed** (+60 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `iam-policy-autopilot-policy-generation/src/policy_generation/mod.rs` (+60 -0) </details> ### 📄 Description *Description of changes:* Adds PascalCase serialization for `ActionMapping` and `MethodActionMapping` which were missing it. Adds tests for the serialization of these types in addition to another test focused on `policy_type` serialization. Note: We are making updates to ensure PascalCase serialization across our public types, this PR covers the policy generation package. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 11:51:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/iam-policy-autopilot#173
No description provided.