rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.61k stars 271 forks source link

Get query parameter as JSON not showing #1007

Open thechtman opened 2 months ago

thechtman commented 2 months ago

I cannot get the query parameters to show with the following JSON spec. This seems to be limited to Get operations. Rapidoc version: 9.3.3

        "/dashboards/getList": {
            "get": {
                "tags": [
                    "dashboards"
                ],
                "summary": "Get Dashboard List",
                "description": "Get the list of dashboards.",
                "parameters": [
                    {
                        "name": "request",
                        "in": "query",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "pageNo": {
                                            "type": "integer",
                                            "description": ""
                                        },
                                        "pageSize": {
                                            "type": "integer",
                                            "description": ""
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/DashboardInfo"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/NotAuthenticated"
                    }
                }
            }
        }

The result is just showing the "request" parameter without any details of the child items. I did try without context and application/json and specifying explode with no results.

image