@postman-cse/onboarding-api 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/action.yml +4 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -142,6 +142,7 @@ Even when reusing an existing `spec-id`, the composite action still requires `sp
142
142
  | `workspace-admin-user-ids` | | Optional comma-separated workspace admin IDs. |
143
143
  | `workspace-team-id` | | Numeric sub-team ID for org-mode workspace creation. |
144
144
  | `spec-url` | | Required registry-backed OpenAPI document URL. |
145
+ | `spec-path` | | Optional repo-root-relative path to the local spec file used for repo metadata generation. |
145
146
  | `environments-json` | `["prod"]` | Environment slugs to materialize downstream. |
146
147
  | `system-env-map-json` | `{}` | Map of environment slug to system environment ID. |
147
148
  | `governance-mapping-json` | `{}` | Map of domain to governance group name. |
@@ -232,7 +233,7 @@ The composite action wires:
232
233
  - `workspace-id`, `workspace-url`, `spec-id`, and `collections-json` from `bootstrap`.
233
234
  - `environment-uids-json`, `mock-url`, `monitor-id`, `repo-sync-summary-json`, and `commit-sha` from `repo_sync`.
234
235
  - Existing-service passthrough inputs to `bootstrap`: `workspace-id`, `spec-id`, `baseline-collection-id`, `smoke-collection-id`, and `contract-collection-id`.
235
- - Existing-repo passthrough inputs to `repo_sync`: `generate-ci-workflow` and `ci-workflow-path`.
236
+ - Existing-repo passthrough inputs to `repo_sync`: `generate-ci-workflow`, `ci-workflow-path`, and `spec-path`.
236
237
  - When `enable-insights: true`, the Insights onboarding step runs after repo sync using the workspace ID from bootstrap plus the first environment from `environments-json` for `environment-id` and `system-env-map-json` lookup.
237
238
  - Insights outputs (`insights-status`, `insights-verification-token`, `insights-application-id`, `insights-discovered-service-id`, `insights-discovered-service-name`, `insights-collection-id`) are surfaced when `enable-insights: true`.
238
239
 
package/action.yml CHANGED
@@ -64,6 +64,9 @@ inputs:
64
64
  spec-url:
65
65
  description: URL to the OpenAPI document to bootstrap.
66
66
  required: true
67
+ spec-path:
68
+ description: Optional repo-root-relative path to the local spec file for repo metadata generation.
69
+ required: false
67
70
  environments-json:
68
71
  description: JSON array of environment slugs to materialize.
69
72
  required: false
@@ -251,6 +254,7 @@ runs:
251
254
  ssl-client-passphrase: ${{ inputs.ssl-client-passphrase }}
252
255
  ssl-extra-ca-certs: ${{ inputs.ssl-extra-ca-certs }}
253
256
  spec-id: ${{ steps.bootstrap.outputs.spec-id }}
257
+ spec-path: ${{ inputs.spec-path }}
254
258
  - id: insights_onboarding
255
259
  if: inputs.enable-insights == 'true'
256
260
  name: Onboard Postman Insights
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-cse/onboarding-api",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Public open-alpha composite Postman API onboarding GitHub Action.",
5
5
  "files": [
6
6
  "action.yml",