@postman-cs/onboarding-api 4.1.0 → 4.2.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 +3 -0
  2. package/action.yml +15 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -295,6 +295,9 @@ The hook only attaches `x-api-key` for `*.mock.pstmn.io` hosts, so it stays iner
295
295
  | `sync-examples` | Whether linked spec/collection relations should enable example syncing. | no | `true` |
296
296
  | `collection-sync-mode` | Collection lifecycle policy (refresh or version). Default refresh ensures tracked collections stay in sync with the spec. | no | `refresh` |
297
297
  | `collection-update-strategy` | Collection update strategy (auto or whole). Default whole preserves full collection updates. | no | `whole` |
298
+ | `folder-strategy` | Folder organization strategy for generated collections (Paths or Tags). Forwarded to postman-cs/postman-bootstrap-action. | no | `Paths` |
299
+ | `nested-folder-hierarchy` | When folder-strategy is Tags, enables nested folder hierarchy for generated collections. Forwarded to postman-cs/postman-bootstrap-action. | no | `false` |
300
+ | `request-name-source` | Determines how requests are named in generated collections (Fallback or URL). Forwarded to postman-cs/postman-bootstrap-action. | no | `Fallback` |
298
301
  | `spec-sync-mode` | Spec lifecycle policy (update or version). | no | `update` |
299
302
  | `release-label` | Optional release label for versioned specs and collections. When omitted during versioned sync, derived from GitHub tag or branch metadata. | no | |
300
303
  | `monitor-id` | Existing smoke monitor ID. When set, the action validates and reuses this monitor instead of creating a new one. | no | |
package/action.yml CHANGED
@@ -40,6 +40,18 @@ inputs:
40
40
  description: Collection update strategy (auto or whole). Default whole preserves full collection updates.
41
41
  required: false
42
42
  default: whole
43
+ folder-strategy:
44
+ description: Folder organization strategy for generated collections (Paths or Tags). Forwarded to postman-cs/postman-bootstrap-action.
45
+ required: false
46
+ default: Paths
47
+ nested-folder-hierarchy:
48
+ description: When folder-strategy is Tags, enables nested folder hierarchy for generated collections. Forwarded to postman-cs/postman-bootstrap-action.
49
+ required: false
50
+ default: 'false'
51
+ request-name-source:
52
+ description: Determines how requests are named in generated collections (Fallback or URL). Forwarded to postman-cs/postman-bootstrap-action.
53
+ required: false
54
+ default: Fallback
43
55
  spec-sync-mode:
44
56
  description: Spec lifecycle policy (update or version).
45
57
  required: false
@@ -759,6 +771,9 @@ runs:
759
771
  sync-examples: ${{ inputs.sync-examples }}
760
772
  collection-sync-mode: ${{ inputs.collection-sync-mode }}
761
773
  collection-update-strategy: ${{ inputs.collection-update-strategy }}
774
+ folder-strategy: ${{ inputs.folder-strategy }}
775
+ nested-folder-hierarchy: ${{ inputs.nested-folder-hierarchy }}
776
+ request-name-source: ${{ inputs.request-name-source }}
762
777
  spec-sync-mode: ${{ inputs.spec-sync-mode }}
763
778
  release-label: ${{ inputs.release-label }}
764
779
  domain: ${{ inputs.domain }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-cs/onboarding-api",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Composite Postman API onboarding GitHub Action.",
5
5
  "files": [
6
6
  "action.yml",