swagger-merger icon indicating copy to clipboard operation
swagger-merger copied to clipboard

error: Maximum call stack size exceeded

Open heww opened this issue 2 years ago • 5 comments

I get error: Maximum call stack size exceeded when using v1.5.1+, but it's ok with v1.4.3 and v1.5.0.

heww avatar Feb 18 '22 02:02 heww

Can you provide your example? Thanks!

WindomZ avatar Feb 21 '22 05:02 WindomZ

Hi, I have the same problem. I tried the specs from: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01

May this can help

Nantor avatar Apr 06 '22 13:04 Nantor

I am also seeing this issue when there is a circular reference.

"person": {
    "properties": {
        "name": {
          "type": "string"
        },
        "spouse": {
          "type": {
            "$ref": "#/person"        // circular reference
          }
        }
    }
}

is there a way to fix it?

Mayank-jain34 avatar Jul 08 '22 07:07 Mayank-jain34

I have this problem too

Aminmalek avatar Mar 14 '23 18:03 Aminmalek

Same problem here.

enriquesanzep avatar Mar 15 '23 16:03 enriquesanzep