Skip to content

Syntax highlighting in Swagger-ui can't be configured in Springdoc #877

Closed
@ErwanLeroux

Description

@ErwanLeroux

The syntax highlighting feature added in swagger-ui v3.30.0 can't configured in springDoc and it's preventing me from disabling it. I want to disable it because it's causing performance issue on large json response

To Reproduce
I'm using the following versions :

  • spring-boot : 2.3.3.RELEASE
  • springdoc-openapi-ui:1.4.7
  • springdoc-openapi-security:1.4.7"

Expected behavior
I'm expecting to be able to deactivate the syntax highlighting

Screenshots
With_highlight
Without_highlighting

Additional context
You can see the difference in the screenshots I provided.
The parameters are here in swagger-ui but i couldn't find where they are used in springdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions