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

Update documentation for deleted parameter in names and structures endpoints

parent e35a7ea3
No related branches found
No related tags found
No related merge requests found
...@@ -206,8 +206,8 @@ public interface INames { ...@@ -206,8 +206,8 @@ public interface INames {
* Find valid names (search). * Find valid names (search).
* Return paged list of name elements. * Return paged list of name elements.
* *
* @param deleted if deleted-only names are to be included * @param deleted if deleted names are to be selected or not, omitted for both deleted and non-deleted names
* (false for non-deleted-only names, true for deleted-only names, not used for both cases) * (true for deleted names, false for non-deleted names, omitted for both deleted and non-deleted names)
* @param name name * @param name name
* @param systemStructure system structure mnemonic path * @param systemStructure system structure mnemonic path
* @param deviceStructure device structure mnemonic path * @param deviceStructure device structure mnemonic path
...@@ -256,7 +256,7 @@ public interface INames { ...@@ -256,7 +256,7 @@ public interface INames {
@GetMapping( @GetMapping(
produces = {"application/json"}) produces = {"application/json"})
public ResponsePageNameElements readNames( public ResponsePageNameElements readNames(
@Parameter(in = ParameterIn.QUERY, description = "if deleted names are to be included or not, omitted for both deleted and not deleted names") @RequestParam(required = false) Boolean deleted, @Parameter(in = ParameterIn.QUERY, description = "if deleted names are to be selected or not, omitted for both deleted and non-deleted names") @RequestParam(required = false) Boolean deleted,
@Parameter(in = ParameterIn.QUERY, description = "search by name") @RequestParam(required = false) String name, @Parameter(in = ParameterIn.QUERY, description = "search by name") @RequestParam(required = false) String name,
@Parameter(in = ParameterIn.QUERY, description = "search by system structure mnemonic path") @RequestParam(required = false) String systemStructure, @Parameter(in = ParameterIn.QUERY, description = "search by system structure mnemonic path") @RequestParam(required = false) String systemStructure,
@Parameter(in = ParameterIn.QUERY, description = "search by device structure mnemonic path") @RequestParam(required = false) String deviceStructure, @Parameter(in = ParameterIn.QUERY, description = "search by device structure mnemonic path") @RequestParam(required = false) String deviceStructure,
......
...@@ -215,8 +215,8 @@ public interface IStructures { ...@@ -215,8 +215,8 @@ public interface IStructures {
* *
* @param type type of structure * @param type type of structure
* @param statuses statuses for structures * @param statuses statuses for structures
* @param deleted if deleted-only structures are to be included * @param deleted if deleted structures are to be selected or not, omitted for both deleted and non-deleted structures
* (false for non-deleted-only structures, true for deleted-only structures, not used for both cases) * (true for deleted structures, false for non-deleted structures, omitted for both deleted and non-deleted structures)
* @param parent parent uuid * @param parent parent uuid
* @param name name * @param name name
* @param mnemonic mnemonic * @param mnemonic mnemonic
...@@ -268,7 +268,7 @@ public interface IStructures { ...@@ -268,7 +268,7 @@ public interface IStructures {
public ResponsePageStructureElements readStructures( public ResponsePageStructureElements readStructures(
@Parameter(in = ParameterIn.PATH, description = "search by type of structure") @PathVariable("type") Type type, @Parameter(in = ParameterIn.PATH, description = "search by type of structure") @PathVariable("type") Type type,
@Parameter(in = ParameterIn.QUERY, description = "search by statuses") @RequestParam(required = false) Status[] statuses, @Parameter(in = ParameterIn.QUERY, description = "search by statuses") @RequestParam(required = false) Status[] statuses,
@Parameter(in = ParameterIn.QUERY, description = "if deleted structures are to be included or not, omitted for both deleted and not deleted structures") @RequestParam(required = false) Boolean deleted, @Parameter(in = ParameterIn.QUERY, description = "if deleted structures are to be selected or not, omitted for both deleted and not deleted structures") @RequestParam(required = false) Boolean deleted,
@Parameter(in = ParameterIn.QUERY, description = "search by parent uuid") @RequestParam(required = false) String parent, @Parameter(in = ParameterIn.QUERY, description = "search by parent uuid") @RequestParam(required = false) String parent,
@Parameter(in = ParameterIn.QUERY, description = "search by name") @RequestParam(required = false) String name, @Parameter(in = ParameterIn.QUERY, description = "search by name") @RequestParam(required = false) String name,
@Parameter(in = ParameterIn.QUERY, description = "search by mnemonic") @RequestParam(required = false) String mnemonic, @Parameter(in = ParameterIn.QUERY, description = "search by mnemonic") @RequestParam(required = false) String mnemonic,
...@@ -342,8 +342,8 @@ public interface IStructures { ...@@ -342,8 +342,8 @@ public interface IStructures {
* *
* @param uuid uuid * @param uuid uuid
* @param statuses statuses for structures * @param statuses statuses for structures
* @param deleted if deleted-only structures are to be included * @param deleted if deleted structures are to be selected or not, omitted for both deleted and non-deleted structures
* (false for non-deleted-only structures, true for deleted-only structures, not used for both cases) * (true for deleted structures, false for non-deleted structures, omitted for both deleted and non-deleted structures)
* @param orderBy order by field * @param orderBy order by field
* @param isAsc sort order, ascending or descending * @param isAsc sort order, ascending or descending
* @param page page starting from 0, offset * @param page page starting from 0, offset
...@@ -389,7 +389,7 @@ public interface IStructures { ...@@ -389,7 +389,7 @@ public interface IStructures {
public ResponsePageStructureElements readStructuresChildren( public ResponsePageStructureElements readStructuresChildren(
@Parameter(in = ParameterIn.PATH, description = "find by uuid") @PathVariable("uuid") String uuid, @Parameter(in = ParameterIn.PATH, description = "find by uuid") @PathVariable("uuid") String uuid,
@Parameter(in = ParameterIn.QUERY, description = "search by statuses") @RequestParam(required = false) Status[] statuses, @Parameter(in = ParameterIn.QUERY, description = "search by statuses") @RequestParam(required = false) Status[] statuses,
@Parameter(in = ParameterIn.QUERY, description = "if deleted structures are to be included or not, omitted for both deleted and not deleted structures", required = false) @RequestParam(required = false) Boolean deleted, @Parameter(in = ParameterIn.QUERY, description = "if deleted structures are to be selected or not, omitted for both deleted and not deleted structures", required = false) @RequestParam(required = false) Boolean deleted,
@Parameter(in = ParameterIn.QUERY, description = "order by field") @RequestParam(required = false) FieldStructure orderBy, @Parameter(in = ParameterIn.QUERY, description = "order by field") @RequestParam(required = false) FieldStructure orderBy,
@Parameter(in = ParameterIn.QUERY, description = "sort order, ascending or descending") @RequestParam(required = false) Boolean isAsc, @Parameter(in = ParameterIn.QUERY, description = "sort order, ascending or descending") @RequestParam(required = false) Boolean isAsc,
@Parameter(in = ParameterIn.QUERY, description = "page starting from 0, offset") @RequestParam(required = false, defaultValue = DEFAULT_PAGE) Integer page, @Parameter(in = ParameterIn.QUERY, description = "page starting from 0, offset") @RequestParam(required = false, defaultValue = DEFAULT_PAGE) Integer page,
......
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