You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add --update-schema-for CLI option for single resource updates (#2642)
* feat: Add --update-schema-for CLI option for single resource updates
Add new CLI option to update schema for individual resources without
reprocessing all schema data. Includes:
- README documentation for --update-schema-for option with examples
- Refactored duplicate code into helper functions:
- _fetch_openapi_v3_index: Fetches OpenAPI v3 paths index
- _build_schema_data: Constructs schema data structure from API spec
- _merge_schema_into_mapping: Merges schema into resource mapping
- Improved code maintainability and reduced duplication
* fix: Address CodeRabbit review comments in test files
- Fix ResourceNotFoundError instantiation to use kind keyword argument
- Rename unused mock parameters to follow Python conventions (_mock_*)
"At least one action must be specified (--kind, --update-schema, --discover-missing, --coverage-report, --generate-missing, or --regenerate-all)"
54
+
"At least one action must be specified (--kind, --update-schema, --update-schema-for, --discover-missing, --coverage-report, --generate-missing, or --regenerate-all)"
0 commit comments