File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 <ItemGroup >
77 <PackageVersion Include =" Microsoft.AspNetCore.OpenApi" Version =" 10.0.9" />
88 <PackageVersion Include =" Microsoft.AspNetCore.SpaProxy" Version =" 10.0.9" />
9+ <PackageVersion Include =" Microsoft.Extensions.ApiDescription.Server" Version =" 10.0.9" >
10+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
11+ <PrivateAssets >all</PrivateAssets >
12+ </PackageVersion >
913 <PackageVersion Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 10.0.9" />
1014 <PackageVersion Include =" Microsoft.Extensions.Options" Version =" 10.0.9" />
1115 <PackageVersion Include =" SixLabors.ImageSharp" Version =" 3.1.12" />
Original file line number Diff line number Diff line change 77 "dev" : " vite dev" ,
88 "build" : " vite build" ,
99 "preview" : " vite preview" ,
10- "type-check" : " vue-tsc --build"
10+ "type-check" : " vue-tsc --build" ,
11+ "gen:api" : " openapi-typescript ../OBiliStream/obj/OBiliStream.json -o ./obj/apis.d.ts"
1112 },
1213 "dependencies" : {
1314 "date-fns" : " ^4.4.0" ,
Original file line number Diff line number Diff line change 1- using System . Text . Json . Serialization ;
1+ using System . Net . ServerSentEvents ;
2+ using System . Text . Json ;
3+ using System . Text . Json . Serialization ;
4+
5+ using Microsoft . AspNetCore . Mvc ;
26
37using OBiliStream . Model ;
48
9+ [ JsonSerializable ( typeof ( ProblemDetails ) ) ]
10+ [ JsonSerializable ( typeof ( HttpValidationProblemDetails ) ) ]
11+ [ JsonSerializable ( typeof ( IFormFile ) ) ]
12+ [ JsonSerializable ( typeof ( SseItem < JsonElement > ) ) ]
513[ JsonSerializable ( typeof ( StartLiveRequest ) ) ]
614[ JsonSerializable ( typeof ( UpdateLiveRequest ) ) ]
715[ JsonSerializable ( typeof ( SendChatRequest ) ) ]
Original file line number Diff line number Diff line change 2626 <ItemGroup >
2727 <PackageReference Include =" Microsoft.AspNetCore.OpenApi" />
2828 <PackageReference Include =" Microsoft.AspNetCore.SpaProxy" />
29+ <PackageReference Include =" Microsoft.Extensions.ApiDescription.Server" >
30+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
31+ <PrivateAssets >all</PrivateAssets >
32+ </PackageReference >
2933 <PackageReference Include =" SixLabors.ImageSharp" />
3034 </ItemGroup >
3135
You can’t perform that action at this time.
0 commit comments