Simplify release notes workflow
Some checks failed
deploy-socialize / image (push) Successful in 1m9s
deploy-socialize / deploy (push) Has been cancelled

This commit is contained in:
2026-05-08 00:37:14 -04:00
parent 2eb54b9228
commit dcfdce1ec6
47 changed files with 12370 additions and 1974 deletions

View File

@@ -7,7 +7,7 @@
},
"servers": [
{
"url": "http://127.0.0.1:5080"
"url": "http://localhost:5080"
}
],
"paths": {
@@ -659,53 +659,6 @@
]
}
},
"/api/developer/release-commits/import": {
"post": {
"tags": [
"Release Communications",
"Api"
],
"operationId": "SocializeApiModulesReleaseCommunicationsHandlersImportDeveloperReleaseCommitsHandler",
"requestBody": {
"x-name": "ImportDeveloperReleaseCommitsRequest",
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsHandlersImportDeveloperReleaseCommitsRequest"
}
}
},
"required": true,
"x-position": 1
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseCommitImportResultDto"
}
}
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
}
},
"security": [
{
"JWTBearerAuth": [
"developer"
]
}
]
}
},
"/api/developer/release-commits": {
"get": {
"tags": [
@@ -873,43 +826,20 @@
]
}
},
"/api/developer/release-updates/{id}/send-email": {
"/api/developer/release-commits/refresh": {
"post": {
"tags": [
"Release Communications",
"Api"
],
"operationId": "SocializeApiModulesReleaseCommunicationsHandlersSendDeveloperReleaseUpdateEmailHandler",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"x-name": "SendDeveloperReleaseUpdateEmailRequest",
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsHandlersSendDeveloperReleaseUpdateEmailRequest"
}
}
},
"required": true,
"x-position": 1
},
"operationId": "SocializeApiModulesReleaseCommunicationsHandlersRefreshDeveloperReleaseCommitsHandler",
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseUpdateEmailSendResultDto"
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseCommitRefreshResultDto"
}
}
}
@@ -987,6 +917,63 @@
]
}
},
"/api/developer/release-commits/{sha}/link-first-release": {
"post": {
"tags": [
"Release Communications",
"Api"
],
"operationId": "SocializeApiModulesReleaseCommunicationsHandlersLinkFirstReleaseCommitsHandler",
"parameters": [
{
"name": "sha",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"x-name": "LinkFirstReleaseCommitsRequest",
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsHandlersLinkFirstReleaseCommitsRequest"
}
}
},
"required": true,
"x-position": 1
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseCommitBulkLinkResultDto"
}
}
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
}
},
"security": [
{
"JWTBearerAuth": [
"developer"
]
}
]
}
},
"/api/developer/release-commits/{sha}/unlink": {
"post": {
"tags": [
@@ -4946,37 +4933,24 @@
"title": {
"type": "string"
},
"summary": {
"description": {
"type": "string"
},
"body": {
"type": "string",
"nullable": true
},
"category": {
"titleEn": {
"type": "string"
},
"importance": {
"descriptionEn": {
"type": "string"
},
"audience": {
"titleFr": {
"type": "string"
},
"descriptionFr": {
"type": "string"
},
"status": {
"type": "string"
},
"deploymentLabel": {
"type": "string",
"nullable": true
},
"buildVersion": {
"type": "string",
"nullable": true
},
"commitRange": {
"type": "string",
"nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time"
@@ -4995,25 +4969,6 @@
"format": "date-time",
"nullable": true
},
"manualEmailSentByUserId": {
"type": "string",
"format": "guid",
"nullable": true
},
"manualEmailSentAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"manualEmailAudience": {
"type": "string",
"nullable": true
},
"manualEmailRecipientCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isRead": {
"type": "boolean"
}
@@ -5023,66 +4978,35 @@
"type": "object",
"additionalProperties": false,
"required": [
"title",
"summary",
"category",
"importance",
"audience"
"titleEn",
"descriptionEn",
"titleFr",
"descriptionFr"
],
"properties": {
"title": {
"titleEn": {
"type": "string",
"maxLength": 160,
"minLength": 0,
"nullable": false
},
"summary": {
"descriptionEn": {
"type": "string",
"maxLength": 512,
"maxLength": 4000,
"minLength": 0,
"nullable": false
},
"body": {
"titleFr": {
"type": "string",
"maxLength": 8000,
"minLength": 0,
"nullable": true
},
"category": {
"type": "string",
"maxLength": 32,
"maxLength": 160,
"minLength": 0,
"nullable": false
},
"importance": {
"descriptionFr": {
"type": "string",
"maxLength": 32,
"maxLength": 4000,
"minLength": 0,
"nullable": false
},
"audience": {
"type": "string",
"maxLength": 32,
"minLength": 0,
"nullable": false
},
"deploymentLabel": {
"type": "string",
"maxLength": 128,
"minLength": 0,
"nullable": true
},
"buildVersion": {
"type": "string",
"maxLength": 128,
"minLength": 0,
"nullable": true
},
"commitRange": {
"type": "string",
"maxLength": 256,
"minLength": 0,
"nullable": true
}
}
},
@@ -5106,30 +5030,6 @@
}
}
},
"SocializeApiModulesReleaseCommunicationsContractsReleaseCommitImportResultDto": {
"type": "object",
"additionalProperties": false,
"properties": {
"importedCount": {
"type": "integer",
"format": "int32"
},
"updatedCount": {
"type": "integer",
"format": "int32"
},
"skippedCount": {
"type": "integer",
"format": "int32"
},
"commits": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseCommitDto"
}
}
}
},
"SocializeApiModulesReleaseCommunicationsContractsReleaseCommitDto": {
"type": "object",
"additionalProperties": false,
@@ -5191,107 +5091,27 @@
}
}
},
"SocializeApiModulesReleaseCommunicationsHandlersImportDeveloperReleaseCommitsRequest": {
"SocializeApiModulesReleaseCommunicationsContractsReleaseCommitRefreshResultDto": {
"type": "object",
"additionalProperties": false,
"properties": {
"sinceSha": {
"type": "string",
"nullable": true
},
"untilSha": {
"type": "string",
"nullable": true
},
"sourceBranch": {
"type": "string",
"nullable": true
},
"deploymentLabel": {
"type": "string",
"nullable": true
},
"commits": {
"type": "array",
"nullable": true,
"items": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsHandlersImportDeveloperReleaseCommitDto"
}
}
}
},
"SocializeApiModulesReleaseCommunicationsHandlersImportDeveloperReleaseCommitDto": {
"type": "object",
"additionalProperties": false,
"properties": {
"sha": {
"type": "string"
},
"shortSha": {
"type": "string",
"nullable": true
},
"subject": {
"type": "string"
},
"authorName": {
"type": "string",
"nullable": true
},
"authorEmail": {
"type": "string",
"nullable": true
},
"authoredAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"committedAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"sourceBranch": {
"type": "string",
"nullable": true
},
"deploymentLabel": {
"type": "string",
"nullable": true
},
"externalUrl": {
"type": "string",
"nullable": true
}
}
},
"SocializeApiModulesReleaseCommunicationsContractsReleaseUpdateEmailSendResultDto": {
"type": "object",
"additionalProperties": false,
"properties": {
"recipientCount": {
"createdCount": {
"type": "integer",
"format": "int32"
},
"sentAt": {
"type": "string",
"format": "date-time"
"updatedCount": {
"type": "integer",
"format": "int32"
},
"testMode": {
"type": "boolean"
}
}
},
"SocializeApiModulesReleaseCommunicationsHandlersSendDeveloperReleaseUpdateEmailRequest": {
"type": "object",
"additionalProperties": false,
"properties": {
"testMode": {
"type": "boolean"
"skippedCount": {
"type": "integer",
"format": "int32"
},
"confirmResend": {
"type": "boolean"
"commits": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SocializeApiModulesReleaseCommunicationsContractsReleaseCommitDto"
}
}
}
},
@@ -5305,70 +5125,59 @@
}
}
},
"SocializeApiModulesReleaseCommunicationsContractsReleaseCommitBulkLinkResultDto": {
"type": "object",
"additionalProperties": false,
"properties": {
"linkedCount": {
"type": "integer",
"format": "int32"
}
}
},
"SocializeApiModulesReleaseCommunicationsHandlersLinkFirstReleaseCommitsRequest": {
"type": "object",
"additionalProperties": false,
"properties": {
"releaseUpdateId": {
"type": "string",
"format": "guid"
}
}
},
"SocializeApiModulesReleaseCommunicationsHandlersUpdateDeveloperReleaseUpdateRequest": {
"type": "object",
"additionalProperties": false,
"required": [
"title",
"summary",
"category",
"importance",
"audience"
"titleEn",
"descriptionEn",
"titleFr",
"descriptionFr"
],
"properties": {
"title": {
"titleEn": {
"type": "string",
"maxLength": 160,
"minLength": 0,
"nullable": false
},
"summary": {
"descriptionEn": {
"type": "string",
"maxLength": 512,
"maxLength": 4000,
"minLength": 0,
"nullable": false
},
"body": {
"titleFr": {
"type": "string",
"maxLength": 8000,
"minLength": 0,
"nullable": true
},
"category": {
"type": "string",
"maxLength": 32,
"maxLength": 160,
"minLength": 0,
"nullable": false
},
"importance": {
"descriptionFr": {
"type": "string",
"maxLength": 32,
"maxLength": 4000,
"minLength": 0,
"nullable": false
},
"audience": {
"type": "string",
"maxLength": 32,
"minLength": 0,
"nullable": false
},
"deploymentLabel": {
"type": "string",
"maxLength": 128,
"minLength": 0,
"nullable": true
},
"buildVersion": {
"type": "string",
"maxLength": 128,
"minLength": 0,
"nullable": true
},
"commitRange": {
"type": "string",
"maxLength": 256,
"minLength": 0,
"nullable": true
}
}
},