Initial version

This commit is contained in:
2026-06-20 10:24:36 +02:00
parent f85b83d90f
commit 7e1173bf2c
40 changed files with 5438 additions and 63 deletions
+37
View File
@@ -0,0 +1,37 @@
using System.Text.Json.Serialization;
namespace EonaCat.DoxaApi.Models
{
public sealed class ApiEndpoint
{
[JsonPropertyName("operationId")]
public string OperationId { get; set; } = "";
[JsonPropertyName("summary")]
public string? Summary { get; set; }
[JsonPropertyName("description")]
public string? Description { get; set; }
[JsonPropertyName("method")]
public string Method { get; set; } = "GET";
[JsonPropertyName("path")]
public string Path { get; set; } = "/";
[JsonPropertyName("deprecated")]
public bool Deprecated { get; set; }
[JsonPropertyName("tags")]
public List<string> Tags { get; set; } = new();
[JsonPropertyName("parameters")]
public List<ApiParameter> Parameters { get; set; } = new();
[JsonPropertyName("requestBody")]
public RequestBodyModel? RequestBody { get; set; }
[JsonPropertyName("responses")]
public List<ResponseModel> Responses { get; set; } = new();
}
}