Skip to content
New issue

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

deepObject query parameter does not work #10245

Open
siddhsql opened this issue Dec 24, 2024 · 0 comments
Open

deepObject query parameter does not work #10245

siddhsql opened this issue Dec 24, 2024 · 0 comments

Comments

@siddhsql
Copy link

siddhsql commented Dec 24, 2024

Q&A (please complete the following information)

  • OS: Windows
  • Browser: chrome
  • Version: 131.0
  • Method of installation: [e.g. npm, dist assets]
  • Swagger-UI version: not sure. I am using
<dependency>
      <groupId>org.springdoc</groupId>
      <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
      <version>2.5.0</version>
      <scope>runtime</scope>
   </dependency>   

which seems to be using Swagger UI version 5.13.0. see this

  • Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0] openapi: 3.0.1

Content & configuration

Example Swagger/OpenAPI definition:

parameters:        
        - name: metadata
          in: query
          required: false
          style: deepObject
          explode: true
          schema:
            type: object
            additionalProperties:
              type: string        

full config is omitted to show just the part in question

Describe the bug you're encountering

I do not see any field for metadata in the UI

image

To reproduce...

  • declare a query parameter of type deepObject
  • open Swagger UI

Expected behavior

I should be seeing a field to enter metadata information

Screenshots

image

Additional context or thoughts

#4216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant