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

Enable swagger for query service

parent a6895fb5
No related branches found
No related tags found
3 merge requests!81New stable release,!43Merge dev to master,!41UI March
...@@ -62,6 +62,16 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -62,6 +62,16 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.GET, "/api/container/**/database/**/table/**/export/**").permitAll() .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(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 */ /* insert endpoint */
.antMatchers(HttpMethod.POST, "/api/container/**/database/**/table/**/data").permitAll() .antMatchers(HttpMethod.POST, "/api/container/**/database/**/table/**/data").permitAll()
/* our private endpoints */ /* our private endpoints */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment