apimetrics/APIm Import (test repo)
Test repo action: upload an APImetrics import YAML/JSON to the APImetrics API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file | Path to a YAML or JSON file in the repo | no | — |
| openapi_file | Path to an OpenAPI specification file (YAML or JSON) | no | — |
| openapi_mapping_file | Path to OpenAPI mapping config that controls generation | no | — |
| base_project_file | Optional APIm import file to merge generated OpenAPI calls into | no | — |
| template | Path to a ytt template file or directory | no | — |
| template_values | Path to a ytt values file (optional) | no | — |
| token | Bearer token for APImetrics API (required unless dry_run=true) | no | — |
| validate_schema | Validate against the APImetrics JSON Schema before upload | no | true |
| schema_url | Override schema URL | no | https://client.apimetrics.io/api/2/import/schema.json |
| endpoint | Override API endpoint for import | no | https://client.apimetrics.io/api/2/import/ |
| ytt_version | ytt version to download (e.g., v0.48.0) | no | v0.48.0 |
| ytt_args | Extra args to pass to ytt | no | "" |
| generated_tag | Tag used to mark generated calls/workflows for merge cleanup | no | openapi-sync |
| cleanup_generated | Remove stale generated entities that are no longer in OpenAPI selection | no | true |
| dry_run | Generate and validate the document but skip upload | no | false |
| output_file | Optional path to write the generated APIm import JSON | no | — |
| debug | Log resolved endpoint and request summary (no secrets) | no | false |
Outputs
no outputs