Skip to content

swagger-config is loaded twice #688

Closed
@lrozenblyum

Description

@lrozenblyum

Describe the bug
swagger-config url is loaded twice.
Thus onComplete callback is also called twice which makes it harder to customize the UI.

To Reproduce
springdoc-openapi 1.3.9

You may check the online demo:
https://springdoc-openapi-test-app1-exhausted-civet.eu-de.mybluemix.net/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config

Expected behavior

  • swagger-config should be loaded just once

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions