fix swagger, add simapihttpclient

This commit is contained in:
2025-11-02 22:14:34 +08:00
parent c7373da691
commit 65451d7b80
10 changed files with 243 additions and 14 deletions
+2
View File
@@ -1,5 +1,6 @@
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using SimApi.ModelBinders;
namespace SimApi.Attributes;
@@ -8,6 +9,7 @@ namespace SimApi.Attributes;
public class AesBodyAttribute : ModelBinderAttribute
{
public Type KeyProvider { get; set; } = typeof(AesBodyProviderBase);
public override BindingSource BindingSource => BindingSource.Body;
public AesBodyAttribute()
{