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

Add tests for open api specification loading #875

Open
kdhrubo opened this issue Mar 8, 2025 · 2 comments
Open

Add tests for open api specification loading #875

kdhrubo opened this issue Mar 8, 2025 · 2 comments
Assignees
Labels
good first issue Good for newcomers
Milestone

Comments

@kdhrubo
Copy link
Collaborator

kdhrubo commented Mar 8, 2025

No description provided.

@kdhrubo kdhrubo added the good first issue Good for newcomers label Mar 8, 2025
@AmeyaKulkarni2001
Copy link
Contributor

Hi could you assign this issue to me?
We just have to write a test case for the swagger ui in this issue right?
something like this mockMvc.perform(options("/swagger-ui/index.html")).andExpect(status().isOk());?

In which module should we write this test? Should there be a new file for this?

@kdhrubo
Copy link
Collaborator Author

kdhrubo commented Mar 9, 2025

In the same module where you have cors test you can create his test.

Yes it should check that index html - 404 and also check on the underlying json file getting loaded as well. if you check the dev console in browser you will get the link to that as well.

Also this has to be tested when auth is on and then when off.

@kdhrubo kdhrubo added this to the Mar2025 milestone Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants