diff --git a/docs/openapi.json b/docs/openapi.json index 630cc49..03f9a06 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -815,6 +815,53 @@ ] } }, + "/api/settings/style-package/suitable-names": { + "get": { + "operationId": "getSuitableStylePackageNames", + "parameters": [ + { + "in": "query", + "name": "projectId", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "spaceId", + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "documentName", + "schema": { + "type": "string" + } + } + ], + "responses": { + "default": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SettingName" + }, + "type": "array" + } + } + }, + "description": "default response" + } + }, + "summary": "Get list of style packages suitable for a document", + "tags": [ + "Settings" + ] + } + }, "/api/settings/{feature}/default-content": { "get": { "operationId": "getDefaultValues_1", @@ -1165,7 +1212,7 @@ "description": "default response" } }, - "summary": "Returns boolean value telling if webhooks are enabled or not", + "summary": "Gets webhooks status - if they are enabled or not", "tags": [ "Utility resources" ] diff --git a/src/main/java/ch/sbb/polarion/extension/pdf/exporter/PdfExporterFormExtension.java b/src/main/java/ch/sbb/polarion/extension/pdf/exporter/PdfExporterFormExtension.java index 71d61be..3064e22 100644 --- a/src/main/java/ch/sbb/polarion/extension/pdf/exporter/PdfExporterFormExtension.java +++ b/src/main/java/ch/sbb/polarion/extension/pdf/exporter/PdfExporterFormExtension.java @@ -49,6 +49,8 @@ public class PdfExporterFormExtension implements IFormExtension { private static final String OPTION_SELECTED = "