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

Failed to load API definition. #562

Open
xiaodizi opened this issue Dec 5, 2023 · 1 comment
Open

Failed to load API definition. #562

xiaodizi opened this issue Dec 5, 2023 · 1 comment

Comments

@xiaodizi
Copy link

xiaodizi commented Dec 5, 2023

image

After the main branch is built, how to solve this problem?

@baifachuan
Copy link

add this code:

 @Bean
    public Docket docket() {
        return new Docket(DocumentationType.SWAGGER_2);
    }

to MetacatApplication to resolve this issue.

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

2 participants