Skip to content
Snippets Groups Projects
Commit d629f9b3 authored by Lars Johansson's avatar Lars Johansson
Browse files

Hide validation endpoints for names, structures

parent e753c72e
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
......@@ -106,8 +107,8 @@ public interface INames {
read GET /names/{name} - both name and uuid (name - exact and search, uuid exact)
*/
public static final String DEFAULT_PAGE = "0";
public static final String DEFAULT_PAGE_SIZE = "100";
public static final String DEFAULT_PAGE = "0";
public static final String DEFAULT_PAGE_SIZE = "100";
/**
* Create names by list of name elements.
......@@ -429,6 +430,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to create
*/
@Hidden
@Operation(
summary = "Return if name elements are valid to create",
description = "Return if name elements are valid to create. "
......@@ -470,6 +472,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to update
*/
@Hidden
@Operation(
summary = "Return if name elements are valid to update",
description = "Return if name elements are valid to update. "
......@@ -511,6 +514,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to delete
*/
@Hidden
@Operation(
summary = "Return if name elements are valid to delete",
description = "Return if name elements are valid to delete. "
......
......@@ -36,6 +36,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
......@@ -113,8 +114,8 @@ public interface IStructures {
update PATCH /structures/reject - rejectStructures (List<StructureElement>)
*/
public static final String DEFAULT_PAGE = "0";
public static final String DEFAULT_PAGE_SIZE = "100";
public static final String DEFAULT_PAGE = "0";
public static final String DEFAULT_PAGE_SIZE = "100";
/**
* Create (propose) structures by list of structure elements.
......@@ -451,6 +452,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to create (propose)
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to create (propose)",
description = "Return if structure elements are valid to create (propose). "
......@@ -494,6 +496,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to update (propose)
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to update (propose)",
description = "Return if structure elements are valid to update (propose). "
......@@ -537,6 +540,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to delete (propose)
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to delete (propose)",
description = "Return if structure elements are valid to delete (propose). "
......@@ -580,6 +584,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to approve
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to approve",
description = "Return if structure elements are valid to approve. "
......@@ -623,6 +628,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to cancel
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to cancel",
description = "Return if structure elements are valid to cancel. "
......@@ -666,6 +672,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to reject
*/
@Hidden
@Operation(
summary = "Return if structure elements are valid to reject",
description = "Return if structure elements are valid to reject. "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment