Skip to content

Unable to render this definition #683

@nnzbz

Description

@nnzbz

Error
access http://127.0.0.1:xxxx/swagger-ui.html :

Screen Capture_select-area_20200521091123

Development environment

  • SpringBoot 2.3.0 + springdoc 1.3.9
<dependency>
    <groupId>org.springdoc</groupId>
    <artifactId>springdoc-openapi-ui</artifactId>
    <version>1.3.9</version>
</dependency>
  • I don't config application.yml about springdoc and swagger-ui(default)

  • Application.java

@OpenAPIDefinition(info = @Info(//
        title = "xxx", //
        version = "1.2.0", //
        description = "xxxxx"//
))
@SpringCloudApplication
public class Application {

    public static void main(final String[] args) {
        SpringApplication.run(Application.class, args);
    }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions