Add OpenStack request-body schemas and nested console PARAM sync.

This commit is contained in:
2026-07-18 08:47:16 +03:00
parent 6033967e6a
commit 2a8ce3a287
101 changed files with 150428 additions and 612 deletions
+3 -3
View File
@@ -60,9 +60,9 @@ def _crud(
) -> list[dict[str, Any]]:
"""Expand a resource into list/detail/create/show/update/delete + actions/nested."""
singular = key[:-1] if key.endswith("s") and not key.endswith("ss") else key
if key.endswith("ies"):
singular = key[:-3] + "y"
from app.openstack.singular import singular as _singularize
singular = _singularize(key)
ops: list[dict[str, Any]] = [
{
"operation_id": f"{resource}_list",