Fenergo Nebula Doc Gen Command 1.0

Fenergo Nebula Doc Gen Command — OpenAPI 3.0.1 contract published by Fenergo for the docgencommand service of the Fen-X SaaS platform, carrying 34 path(s) and 39 operation(s). Harvested verbatim from Fenergo's own published specification endpoint.

Operations 39

POST /api/docgencomponent Create a new doc gen component library #
DELETE /api/docgencomponent/{id} Delete an existing doc gen component library and all its versions #
POST /api/docgencomponent/{id}/versions/{versionNumber}/draft Create a new version for a doc gen component version #
POST /api/docgencomponent/{id}/emptydraft Create a new version for a doc gen component version without data #
PUT /api/docgencomponent/{id}/versions/{versionNumber} Update an existing doc gen component version #
DELETE /api/docgencomponent/{id}/versions/{versionNumber} Delete a doc gen component version #
PUT /api/docgencomponent/{id}/versions/{versionNumber}/submit-for-approval Submit an existing doc gen component version for Approval #
PUT /api/docgencomponent/{id}/versions/{versionNumber}/sign Sign an existing doc gen component version #
PUT /api/docgencomponent/{id}/versions/{versionNumber}/archive Archive an existing doc gen component version #
POST /api/docgencomponent/{id}/versions/{versionNumber}/components Add a component #
PUT /api/docgencomponent/{id}/versions/{versionNumber}/components Update component #
POST /api/docgencomponent/{id}/versions/{versionNumber}/components/multiple Add mulitple components #
DELETE /api/docgencomponent/{id}/versions/{versionNumber}/components/{componentId} Delete a component #
POST /api/namingconvention Create a new global naming convension set #
DELETE /api/namingconvention/{setId} Delete an existing global naming convension set and all its versions #
POST /api/namingconvention/{setId}/version/{versionNumber}/draft Create a new version for an existing global naming convention set #
PUT /api/namingconvention/{setId}/version/{versionNumber} Update an existing naming convention version #
DELETE /api/namingconvention/{setId}/version/{versionNumber} Delete a naming convention version #
PUT /api/namingconvention/{setId}/version/{versionNumber}/submit-for-approval Submit an existing naming convention version for Approval #
PUT /api/namingconvention/{setId}/version/{versionNumber}/sign Sign an existing naming convention version #
PUT /api/namingconvention/{setId}/version/{versionNumber}/archive Archive an existing naming convention version #
POST /api/template Create a new custom template set #
DELETE /api/template/{setId} Delete an existing custom template set and all its versions #
POST /api/template/{setId}/version/{versionNumber}/draft Create a new version for an existing custom template set #
POST /api/template/{setId}/emptydraft Create a new version for an existing custom template set without data #
PUT /api/template/{setId}/version/{versionNumber} Update an existing custom template version #
DELETE /api/template/{setId}/version/{versionNumber} Delete a custom template version #
PUT /api/template/{setId}/version/{versionNumber}/submit-for-approval Submit an existing custom template version for Approval #
PUT /api/template/{setId}/version/{versionNumber}/sign Sign an existing custom template version #
PUT /api/template/{setId}/version/{versionNumber}/archive Archive an existing custom template version #
POST /api/template/{setId}/version/{versionNumber}/context/htmloverride Save the Html Override Context metadata and get a resigned Url to upload the context file #
DELETE /api/template/{setId}/version/{versionNumber}/context/htmloverride/file Delete Html Override Context file #
PUT /api/template/{setId}/version/{versionNumber}/context/htmloverride/metadata Update Html Override Context metadata #
POST /api/template/{setId}/version/{versionNumber}/components Add a component to a template version #
POST /api/template/{setId}/version/{versionNumber}/components/docgencomponent Add a doc gen component to a template version #
POST /api/template/{setId}/version/{versionNumber}/components/multiple Add mulitple components #
DELETE /api/template/{setId}/version/{versionNumber}/components/{componentId} Delete a component #
POST /api/template/{setId}/version/{versionNumber}/components/{componentId}/context/template Save the Template Context metadata and get a resigned Url to upload the context file #
DELETE /api/template/{setId}/version/{versionNumber}/components/{componentId}/context/template Delete Template Context file #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/docgencommand-v1-0"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fenergo-docgencommand-v1-0-openapi.json Raw ↑
{
  "openapi": "3.0.1",
  "info": {
    "title": "Fenergo Nebula Doc Gen Command",
    "description": "**DocGen Command API**:\n\n<br> DocGen Command API provides configurational methods related to Document Generation. Use the Doc Gen Command API to create and update new and existing configuration. Use the Query API to retrieve configurations.\n\n<br> **DocGen Command API provides**:<br><ul><li> The ability to create, update and delete configurations.</li></ul>",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "/docgencommand"
    }
  ],
  "paths": {
    "/api/docgencomponent": {
      "post": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Create a new doc gen component library",
        "description": "\nCreate a new doc gen component library and store it in the database.<br /><br /><b>Required permissions:</b><br />Following permissions are required: DocGenConfigurationCreate",
        "operationId": "CreateDocGenComponentLibrary",
        "parameters": [
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "requestBody": {
          "description": "Create doc gen component library request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDocGenComponentLibraryRequestDtoServiceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDocGenComponentLibraryRequestDtoServiceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDocGenComponentLibraryRequestDtoServiceRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Success. Doc gen component library created",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDocGenComponentLibraryResponseDtoServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDocGenComponentLibraryResponseDtoServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDocGenComponentLibraryResponseDtoServiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The request has missing/invalid values",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server exception. Please, contact your provider.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "Internal server exception. Please, contact your provider.",
                      "type": "Error",
                      "errorCode": "INTERNAL_SERVER_ERROR"
                    }
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
                      "type": "Error",
                      "errorCode": "OBSOLETE_ENDPOINT"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/docgencomponent/{id}": {
      "delete": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Delete an existing doc gen component library and all its versions",
        "description": "\nDeletes an existing doc gen component library and all its versions.<br /><br /><b>Required permissions:</b><br />Following permissions are required: DocGenConfigurationDelete",
        "operationId": "DeleteDocGenComponentLibrary",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id for Doc Gen Component Library to delete",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted for processing"
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server exception. Please, contact your provider.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "Internal server exception. Please, contact your provider.",
                      "type": "Error",
                      "errorCode": "INTERNAL_SERVER_ERROR"
                    }
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
                      "type": "Error",
                      "errorCode": "OBSOLETE_ENDPOINT"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/docgencomponent/{id}/versions/{versionNumber}/draft": {
      "post": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Create a new version for a doc gen component version",
        "description": "\nThis method creates a doc gen component version.\r\n\nThe new version initializes with the DTO data. It is assigned the next available version number,\r\n            the default status of Draft and the Author as the only required Signee.<br /><br /><b>Required permissions:</b><br />At least one of the following permissions is required: DocGenConfigurationEdit, DocGenConfigurationCreate",
        "operationId": "CreateDocGenComponentVersion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The Id of the existing model",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionNumber",
            "in": "path",
            "description": "The version number of the version that the new version is based on",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted for processing",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Doc Gen Component Library with given ID does not exists",
                      "type": "Error",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server exception. Please, contact your provider.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "Internal server exception. Please, contact your provider.",
                      "type": "Error",
                      "errorCode": "INTERNAL_SERVER_ERROR"
                    }
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
                      "type": "Error",
                      "errorCode": "OBSOLETE_ENDPOINT"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/docgencomponent/{id}/emptydraft": {
      "post": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Create a new version for a doc gen component version without data",
        "description": "\nThis method creates a doc gen component version but with no components or data from any previous version.\r\n\nThe new version initializes with the DTO data. It is assigned the next available version number,\r\n            the default status of Draft and the Author as the only required Signee.<br /><br /><b>Required permissions:</b><br />At least one of the following permissions is required: DocGenConfigurationEdit, DocGenConfigurationCreate",
        "operationId": "CreateDocGenComponentEmptyVersion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The Id of the existing model",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted for processing",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocGenComponentVersionDtoServiceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Doc Gen Component Library with given ID does not exists",
                      "type": "Error",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server exception. Please, contact your provider.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "Internal server exception. Please, contact your provider.",
                      "type": "Error",
                      "errorCode": "INTERNAL_SERVER_ERROR"
                    }
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
                      "type": "Error",
                      "errorCode": "OBSOLETE_ENDPOINT"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/docgencomponent/{id}/versions/{versionNumber}": {
      "put": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Update an existing doc gen component version",
        "description": "\nThis method updates an existing doc gen component version.\r\n\nOnly Draft and Rejected versions are allowed to be updated.<br /><br /><b>Required permissions:</b><br />Following permissions are required: DocGenConfigurationEdit",
        "operationId": "UpdateDocGenComponentVersion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The Id of the existing component library",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionNumber",
            "in": "path",
            "description": "The version number to update",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "requestBody": {
          "description": "Update doc gen component  request",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDocGenComponentVersionRequestDtoServiceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDocGenComponentVersionRequestDtoServiceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDocGenComponentVersionRequestDtoServiceRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted for processing"
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Doc gen component library with given ID does not exists",
                      "type": "Error",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server exception. Please, contact your provider.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "Internal server exception. Please, contact your provider.",
                      "type": "Error",
                      "errorCode": "INTERNAL_SERVER_ERROR"
                    }
                  ]
                }
              }
            }
          },
          "410": {
            "description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringServiceResponse"
                },
                "example": {
                  "data": null,
                  "messages": [
                    {
                      "message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
                      "type": "Error",
                      "errorCode": "OBSOLETE_ENDPOINT"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DocGenComponent"
        ],
        "summary": "Delete a doc gen component version",
        "description": "<ul>\r\n  <li>Deletes the selected version of an existing doc gen component library.</li>\r\n  <li>If the deleted version is the last one, then the version number of it will become the next available one for the model.\r\n            Otherwise, the version number will be flagged as deleted and become unavailable.</li>\r\n</ul><br /><br /><b>Required permissions:</b><br />Following permissions are required: DocGenConfigurationDelete",
        "operationId": "DeleteDocGenComponentVersion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Doc Gen Component library id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionNumber",
            "in": "path",
            "description": "Version number to delete",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "X-TENANT-ID",
            "in": "header",
            "description": "The UiD of the tenant representing organization",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b11f8be3-f29b-4959-8964-956d4af7c468"
          }
        ],
        "responses": {
          "202": {
            "description": "Success. The specified version deleted"
          },
          "400": {
            "description": "Bad request. The request has missing/invalid values",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceResponse"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Not Found. Doc Gen Component library with given id does not exist",
                      "type": "Error",
                      "errorCode": "Error Code"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "User is not authorized to perform this request",
            "content": {
              "application/json": {
                "example": {
                  "message": "Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Access to resource is forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectServiceResponse"
                },
                "example": {
                  "data": { },
                  "messages": [
                    {
                      "message": "Access denied. Following permissions are required: Permission1, Permission2",
                      "type": "Forbidden",
                      "errorCode": "Error Code"
                    }
                  ]
                }
    

# --- truncated at 32 KB (286 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/fenergo/refs/heads/main/openapi/fenergo-docgencommand-v1-0-openapi.json