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 ApiDocument { [JsonProperty("info")] public ApiInfo Info { get; set; } = new(); [JsonProperty("servers")] public List Servers { get; set; } = new(); [JsonProperty("groups")] public List Groups { get; set; } = new(); [JsonProperty("schemas")] public Dictionary Schemas { get; set; } = new(); /// All security schemes available for this API (keyed by scheme id). [JsonProperty("securitySchemes")] public Dictionary SecuritySchemes { get; set; } = new(); /// Which optional DoxaApi server-side features are enabled, for UI feature detection. [JsonProperty("features")] public ApiFeatureFlags Features { get; set; } = new(); } }