mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Improves OpenApi documentation
This commit is contained in:
1 parent
f2703b86c5
commit
77f95708b9
101 files changed
+2336
-294
No files matched your search
+2
-2
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Directories;
|
||||
/// <summary>
|
||||
/// Represents a request to get the directories of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the directories.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="Path">The file system path for which to get the directories. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetDirectoriesRequest(
|
||||
string? Path,
|
||||
|
||||
+3
-3
@@ -8,9 +8,9 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Directories;
|
||||
/// <summary>
|
||||
/// Represents a request to get the tree of directories that make up a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the directory tree.</param>
|
||||
/// <param name="IncludeFiles">Whether to include files along the directories or not.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="Path">The file system path for which to get the directory tree. Required.</param>
|
||||
/// <param name="IncludeFiles">Whether to include files along the directories or not. Optional.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetDirectoryTreeRequest(
|
||||
string? Path,
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Directories;
|
||||
/// <summary>
|
||||
/// Represents a request to get the directories of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the directory tree.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="Path">The file system path for which to get the directory tree. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetTreeDirectoriesRequest(
|
||||
string? Path,
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Files;
|
||||
/// <summary>
|
||||
/// Represents a request to get the files at a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the files.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="Path">The file system path for which to get the files. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetFilesRequest(
|
||||
string? Path,
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Files;
|
||||
/// <summary>
|
||||
/// Represents a request to get the files of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the tree files.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="Path">The file system path for which to get the tree files. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden file system elements or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetTreeFilesRequest(
|
||||
string? Path,
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to check the existence of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path to check the exitence of.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden elements in the search results, or not.</param>
|
||||
/// <param name="Path">The file system path to check the exitence of. Required.</param>
|
||||
/// <param name="IncludeHiddenElements">Whether to include hidden elements in the search results, or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}, IncludeHiddenElements: {IncludeHiddenElements}")]
|
||||
public record CheckPathExistsRequest(
|
||||
string? Path,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
using System.Text.Json.Serialization;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
@@ -8,8 +7,8 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to get the root of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="OriginalPath">The file system path to combine to.</param>
|
||||
/// <param name="NewPath">The file system path to combine with.</param>
|
||||
/// <param name="OriginalPath">The file system path to combine to. Required.</param>
|
||||
/// <param name="NewPath">The file system path to combine with. Required.</param>
|
||||
[DebuggerDisplay("OriginalPath: {OriginalPath}, NewPath: {NewPath}")]
|
||||
public record CombinePathRequest(
|
||||
string? OriginalPath,
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to get the root of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the root.</param>
|
||||
/// <param name="Path">The file system path for which to get the root. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetPathParentRequest(
|
||||
string? Path
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to get the root of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the root.</param>
|
||||
/// <param name="Path">The file system path for which to get the root. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record GetPathRootRequest(
|
||||
string? Path
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to split a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path for which to get the path segments.</param>
|
||||
/// <param name="Path">The file system path for which to get the path segments. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record SplitPathRequest(
|
||||
string? Path
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.FileSystemManagement.Path;
|
||||
/// <summary>
|
||||
/// Represents a request to check the validity of a file system path.
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path to validate.</param>
|
||||
/// <param name="Path">The file system path to validate. Required.</param>
|
||||
[DebuggerDisplay("Path: {Path}")]
|
||||
public record ValidatePathRequest(
|
||||
string? Path
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
using System.Text.Json.Serialization;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.FileSystemManagement.Thumbnails;
|
||||
|
||||
Reference in new issue
Block a user