Skip to content

Since 1.3.5 /v3/api-docs cannot be found anymore #643

Closed
@sticksen

Description

@sticksen

Describe the bug
I updated from 1.3.4 to 1.3.5 without changing anything else and Swagger UI does not work anymore:
Screenshot 2020-05-04 at 15 54 14

To Reproduce
Steps to reproduce the behavior:

  • What version of spring-boot you are using? 2.2.6.RELEASE
  • What modules and versions of springdoc-openapi are you using? before: implementation("org.springdoc:springdoc-openapi-ui:1.3.4") and 1.3.5 after
  • What is the actual and the expected result using OpenAPI Description (yml or json)?
    Actual: missing. Expected: filled with at least something :)
  • Provide with a sample code (HelloController) or Test that reproduces the problem
    Sorry, don´t have this, but I´ve seen an error that is maybe related:
com.fasterxml.jackson.databind.JsonMappingException: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?) (through reference chain: io.swagger.v3.oas.models.OpenAPI["paths"]->io.swagger.v3.oas.models.Paths["/v1/devices"]->io.swagger.v3.oas.models.PathItem["get"]->io.swagger.v3.oas.models.Operation["responses"]->io.swagger.v3.oas.models.responses.ApiResponses["null"])

Expected behavior
The /v3/api-docs should be found again

Screenshots
see above

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