Skip to content

error rendering request parameter object in large service #2538

Closed
@tomaskodaj

Description

@tomaskodaj

I you have complex objects in request parameters (e.g. query parameter) referenced as "$ref", only first 11 "paths" are rendered correctly as "textarea", rest of them wont be rendered with example, and wont render textarea when you hit "try it out".

This bug was introduced in version 2.4.0... version 2.3.0 was OK.

Using with spring boot 3.2.3.

    "paths": {
...
                "parameters": [
                    {
                        "required": true,
                        "examples": {
                            "exampleFullSomeComplexObjectSchema": {
                                "$ref": "#/components/examples/exampleFullSomeComplexObjectSchema"
                            },
                            "exampleMinimalSomeComplexObjectSchema": {
                                "$ref": "#/components/examples/exampleMinimalSomeComplexObjectSchema"
                            }
                        },
                        "schema": {
                            "$ref": "#/components/schemas/SomeComplexObjectSchema"
                        },
                        "description": "Some Complex Object Schema",
                        "in": "query",
                        "name": "someComplexObjectSchema"
                    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions