diff --git a/docs/FoundationaLLM.Core.API.postman_collection.json b/docs/FoundationaLLM.Core.API.postman_collection.json index 93f833a9c3..d0b562fd58 100644 --- a/docs/FoundationaLLM.Core.API.postman_collection.json +++ b/docs/FoundationaLLM.Core.API.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "d1ed4d97-5dc8-4e63-8e02-4b17dff3401c", + "_postman_id": "9ad62116-3057-4166-abfc-ece23923bff5", "name": "FoundationaLLM.Core.API", "description": "FoundationaLLM.Core.API\n\nContact Support:\n Name: Solliance, Inc.\n Email: contact@solliance.net", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", @@ -89,7 +89,7 @@ ], "body": { "mode": "raw", - "raw": "", + "raw": "{\n \"user_prompt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -128,7 +128,7 @@ ], "body": { "mode": "raw", - "raw": "", + "raw": "{\n \"user_prompt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -584,7 +584,7 @@ } ], "cookie": [], - "body": "{\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"messages\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n }\n ]\n}" + "body": "{\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\"\n}" } ] } @@ -966,7 +966,7 @@ } ], "cookie": [], - "body": "[\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"messages\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"messages\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n }\n ]\n }\n]" + "body": "[\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\"\n }\n]" } ] }, @@ -1035,7 +1035,7 @@ } ], "cookie": [], - "body": "{\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"messages\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"timeStamp\": \"\",\n \"sender\": \"\",\n \"senderDisplayName\": \"\",\n \"tokens\": \"\",\n \"text\": \"\",\n \"rating\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\",\n \"vector\": [\n \"\",\n \"\"\n ],\n \"completionPromptId\": \"\"\n }\n ]\n}" + "body": "{\n \"id\": \"\",\n \"type\": \"\",\n \"sessionId\": \"\",\n \"tokensUsed\": \"\",\n \"name\": \"\",\n \"upn\": \"\",\n \"deleted\": \"\"\n}" } ] } diff --git a/src/dotnet/AgentFactoryAPI/AgentFactoryAPI.csproj b/src/dotnet/AgentFactoryAPI/AgentFactoryAPI.csproj index e2874190e8..3edc016c90 100644 --- a/src/dotnet/AgentFactoryAPI/AgentFactoryAPI.csproj +++ b/src/dotnet/AgentFactoryAPI/AgentFactoryAPI.csproj @@ -21,7 +21,8 @@ - + + diff --git a/src/dotnet/AgentFactoryAPI/Program.cs b/src/dotnet/AgentFactoryAPI/Program.cs index adf7c25632..137d913187 100644 --- a/src/dotnet/AgentFactoryAPI/Program.cs +++ b/src/dotnet/AgentFactoryAPI/Program.cs @@ -144,7 +144,8 @@ public static void Main(string[] args) // Adds auth via X-API-KEY header options.AddAPIKeyAuth(); - }); + }) + .AddSwaggerGenNewtonsoftSupport(); builder.Services.Configure(options => { diff --git a/src/dotnet/GatekeeperAPI/GatekeeperAPI.csproj b/src/dotnet/GatekeeperAPI/GatekeeperAPI.csproj index b4020109fc..496f4e284f 100644 --- a/src/dotnet/GatekeeperAPI/GatekeeperAPI.csproj +++ b/src/dotnet/GatekeeperAPI/GatekeeperAPI.csproj @@ -30,7 +30,8 @@ - + + diff --git a/src/dotnet/GatekeeperAPI/Program.cs b/src/dotnet/GatekeeperAPI/Program.cs index 264f4a1568..5e7d0e48e3 100644 --- a/src/dotnet/GatekeeperAPI/Program.cs +++ b/src/dotnet/GatekeeperAPI/Program.cs @@ -130,7 +130,8 @@ public static void Main(string[] args) // Adds auth via X-API-KEY header options.AddAPIKeyAuth(); - }); + }) + .AddSwaggerGenNewtonsoftSupport(); builder.Services.Configure(options => { diff --git a/src/dotnet/ManagementAPI/ManagementAPI.csproj b/src/dotnet/ManagementAPI/ManagementAPI.csproj index c0b6312e09..c8d6555f02 100644 --- a/src/dotnet/ManagementAPI/ManagementAPI.csproj +++ b/src/dotnet/ManagementAPI/ManagementAPI.csproj @@ -25,6 +25,7 @@ + diff --git a/src/dotnet/ManagementAPI/Program.cs b/src/dotnet/ManagementAPI/Program.cs index cd33958d4b..eeea010c78 100644 --- a/src/dotnet/ManagementAPI/Program.cs +++ b/src/dotnet/ManagementAPI/Program.cs @@ -134,7 +134,8 @@ public static void Main(string[] args) // Integrate xml comments options.IncludeXmlComments(filePath); - }); + }) + .AddSwaggerGenNewtonsoftSupport(); builder.Services.Configure(options => { diff --git a/src/dotnet/SemanticKernelAPI/Program.cs b/src/dotnet/SemanticKernelAPI/Program.cs index 86f594d242..85d789dcf2 100644 --- a/src/dotnet/SemanticKernelAPI/Program.cs +++ b/src/dotnet/SemanticKernelAPI/Program.cs @@ -73,7 +73,8 @@ public static void Main(string[] args) // Adds auth via X-API-KEY header options.AddAPIKeyAuth(); - }); + }) + .AddSwaggerGenNewtonsoftSupport(); builder.Services.AddOptions() .Bind(builder.Configuration.GetSection(AppConfigurationKeySections.FoundationaLLM_SemanticKernelAPI)); diff --git a/src/dotnet/SemanticKernelAPI/SemanticKernelAPI.csproj b/src/dotnet/SemanticKernelAPI/SemanticKernelAPI.csproj index c4b0135b12..389c777f82 100644 --- a/src/dotnet/SemanticKernelAPI/SemanticKernelAPI.csproj +++ b/src/dotnet/SemanticKernelAPI/SemanticKernelAPI.csproj @@ -18,6 +18,7 @@ + diff --git a/src/dotnet/VectorizationAPI/Program.cs b/src/dotnet/VectorizationAPI/Program.cs index d4a2737d70..f41c8a1330 100644 --- a/src/dotnet/VectorizationAPI/Program.cs +++ b/src/dotnet/VectorizationAPI/Program.cs @@ -103,7 +103,8 @@ // Integrate xml comments options.IncludeXmlComments(filePath); - }); + }) + .AddSwaggerGenNewtonsoftSupport(); builder.Services.Configure(options => { diff --git a/src/dotnet/VectorizationAPI/VectorizationAPI.csproj b/src/dotnet/VectorizationAPI/VectorizationAPI.csproj index fee6d1176a..fb544ce400 100644 --- a/src/dotnet/VectorizationAPI/VectorizationAPI.csproj +++ b/src/dotnet/VectorizationAPI/VectorizationAPI.csproj @@ -19,6 +19,7 @@ +