We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atttempts to use JSON schemas with definitions that are referencing themselves leads to stack overflow and crash.
JSON
{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "folder": { "type": "object", "title": "Folder Schema", "properties": { "id": { "type": "string", "example": "3ba1c69c-3c81-4d6d-b304-873d898b2e3c", "format": "uuid" }, "name": { "type": "string", "example": "Level 1" }, "folders": { "type": "array", "items": { "$ref": "#/definitions/folder" } } }, "additionalProperties": false, "required": ["id", "folders"] } }, "type": "object", "title": "Folders Response Schema", "properties": { "data": { "$ref": "#/definitions/folder" } } }
serverless openapi generate
Outcome: Error(maximum call stack size exceeded) Expected: openapi document is generated
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Atttempts to use
JSON
schemas with definitions that are referencing themselves leads to stack overflow and crash.Steps to reproduce:
serverless openapi generate
Outcome: Error(maximum call stack size exceeded)
Expected: openapi document is generated
The text was updated successfully, but these errors were encountered: