dweber019 / backstage-plugins

A collection of Backstage plugins
MIT License
20 stars 7 forks source link

Payload too large for some large wsdl-files #4

Closed oliverdirks closed 5 months ago

oliverdirks commented 5 months ago

Hi @dweber019,

first of all, i would thank your for this nice plugin. We tested in in our backstage instance and it fits good. Currently we are facing problems with the payload of some wsdl-files which are too large.

Plugin: api-docs-module-wsdl-backend

The answer for my request shows the following error message.

{
    "error": {
        "name": "PayloadTooLargeError",
        "message": "request entity too large",
        "expected": 132270,
        "length": 132270,
        "limit": 102400,
        "type": "entity.too.large"
    },
    "request": {
        "method": "POST",
        "url": "/api/api-docs-module-wsdl/v1/convert?entityRef=api:gothaer-private/partnerleseservice-partner-soap"
    },
    "response": {
        "statusCode": 413
    }
}
dweber019 commented 5 months ago

Hi @oliverdirks Thanks. Could you give an example of a wsdl.

dweber019 commented 5 months ago

Cloud replicate the issue. Created PR.