Skip to content
Snippets Groups Projects
Commit e963e9a3 authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Enable swagger for query service

Former-commit-id: 1d594e52
parent fcca4f05
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,16 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.GET, "/api/container/**/database/**/table/**/export/**").permitAll()
.antMatchers(HttpMethod.GET, "/api/container/**/database/query/**").permitAll()
.antMatchers(HttpMethod.GET, "/api/container/**/database/**/query/**").permitAll()
.antMatchers("/v2/api-docs",
"/configuration/ui",
"/swagger-resources",
"/configuration/security",
"/swagger-ui.html",
"/webjars/**",
"/swagger-resources/configuration/ui",
"/swagger-ui.html",
"/v3/api-docs/**",
"/swagger-ui/**").permitAll()
/* insert endpoint */
.antMatchers(HttpMethod.POST, "/api/container/**/database/**/table/**/data").permitAll()
/* our private endpoints */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment