sailpoint-oss/Cartographer - OpenAPI Extraction
Extract an OpenAPI spec from service source code using .cartographer/cartographer.yaml.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cartographer-dir | Path to the .cartographer directory containing cartographer.yaml | — | .cartographer |
| project-root | Service project root directory | — | . |
| go-version | Go version used to build Cartographer | — | 1.25.x |
| commit | Commit the updated spec back to the repo (set to 'false' to disable) | — | true |
| commit-message | Commit message when auto-committing | — | chore: update OpenAPI spec [cartographer] |
| spec-path | Output path for the generated spec | — | .cartographer/openapi.yaml |
| emit-diff | Include a truncated git diff of the generated spec in the action outputs | — | false |
Outputs
| name | description |
|---|---|
| spec-path | Path to the generated OpenAPI spec |
| changed | Whether the spec changed ('true' or 'false') |
| diff | Git diff of the generated spec when emit-diff is enabled (empty otherwise) |
| error | Sanitized error message if extraction failed (empty on success) |
| operations | Number of operations in the generated spec |