using EonaCat.Json; namespace EonaCat.DoxaApi.Models { // This file is part of the EonaCat project(s) which is released under the Apache License. // See the LICENSE file or go to https://EonaCat.com/license for full license details. public sealed class ApiParameter { [JsonProperty("name")] public string Name { get; set; } = ""; [JsonProperty("in")] public string In { get; set; } = "query"; [JsonProperty("required")] public bool Required { get; set; } [JsonProperty("description")] public string? Description { get; set; } [JsonProperty("schema")] public SchemaModel Schema { get; set; } = new(); [JsonProperty("default")] public object? Default { get; set; } } }