hmcts/Update OpenAPI Version
Custom action to dynamically update the version in OpenAPI spec This action expects a single OpenAPI spec file within the specified path.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| openapi_path | Path to OpenAPI spec folder. Only the first '*.openapi.yml' file found will be used. | yes | — |
| api_org | Deprecated: no longer used. Server URLs follow https://<api_name>.net. | no | HMCTS-DTS |
| api_name | API name to include in the server URL | yes | — |
| api_version | Version to set in the spec | yes | — |
Outputs
| name | description |
|---|---|
| openapi_file | Path to updated OpenAPI spec |
| upload_artifact_name | Name of the uploaded artifact containing the updated OpenAPI spec |