Fix swagme POST
This commit is contained in:
parent
c69dbd37b5
commit
ee5d42f8bb
Binary file not shown.
Binary file not shown.
|
@ -1,3 +1,3 @@
|
|||
is_global = true
|
||||
build_property.RootNamespace = Tesses.WebServer.EasyServer
|
||||
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/
|
||||
build_property.ProjectDir = /home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -8,3 +8,13 @@
|
|||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.csproj.CoreCompileInputs.cache
|
||||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.dll
|
||||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.deps.json
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/bin/Debug/netstandard2.0/Tesses.WebServer.EasyServer.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.csproj.AssemblyReference.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.AssemblyInfoInputs.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.AssemblyInfo.cs
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.csproj.CoreCompileInputs.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/Debug/netstandard2.0/Tesses.WebServer.EasyServer.pdb
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {}
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectName": "Tesses.WebServer.EasyServer",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -20,7 +20,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
|
|
@ -274,11 +274,11 @@
|
|||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectName": "Tesses.WebServer.EasyServer",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -287,7 +287,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "qj83ATG+rQW26pNZtM/X6zWupPTiHr4OQIGhHGqQNd1MBWorjELs4sTGHjUt4uCnuq59F4ZR+giPiMgaUVLkng==",
|
||||
"dgSpecHash": "oi1JJYGi80UXd+ulosZgXG9ORb6gFaI3VyXeS59kF0o5spICOPXYlMRUop7X37EelHP0J0RKWgzWLWq9F+sixg==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectFilePath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/mike/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
|
||||
|
|
|
@ -74,19 +74,19 @@ namespace Tesses.WebServer.Swagme
|
|||
{
|
||||
if(method == "DELETE")
|
||||
{
|
||||
return "<strong class=\"text-danger\">GET</strong>";
|
||||
return "<strong class=\"text-danger\">DELETE</strong>";
|
||||
}
|
||||
if(method == "PUT")
|
||||
{
|
||||
return "<strong class=\"text-secondary\">GET</strong>";
|
||||
return "<strong class=\"text-secondary\">PUT</strong>";
|
||||
}
|
||||
if(method == "HEAD")
|
||||
{
|
||||
return "<strong class=\"text-info\" style=\"--bs-text-opacity: .5;\">GET</strong>";
|
||||
return "<strong class=\"text-info\" style=\"--bs-text-opacity: .5;\">HEAD</strong>";
|
||||
}
|
||||
if(method == "POST")
|
||||
{
|
||||
return "<strong class=\"text-warning\">GET</strong>";
|
||||
return "<strong class=\"text-warning\">POST</strong>";
|
||||
}
|
||||
return $"<strong class=\"text-primary\">{method}</strong>";
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ namespace Tesses.WebServer.Swagme
|
|||
{
|
||||
if(string.IsNullOrWhiteSpace(documentation.Url)) documentation.Url = url;
|
||||
svr.Add(url,hndlr);
|
||||
docs.Add(group,(documentation,"GET"));
|
||||
docs.Add(group,(documentation,method));
|
||||
rerender=true;
|
||||
}
|
||||
public void Add(string url,HttpAction hndlr,SwagmeDocumentation documentation,string method="GET",string group="No Group")
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
<PackageId>Tesses.WebServer.Swagme</PackageId>
|
||||
<Author>Mike Nolan</Author>
|
||||
<Company>Tesses</Company>
|
||||
<Version>1.0.0</Version>
|
||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<Version>1.0.1</Version>
|
||||
<AssemblyVersion>1.0.1</AssemblyVersion>
|
||||
<FileVersion>1.0.1</FileVersion>
|
||||
<Description>Documentation for Tesses.WebServer</Description>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageTags>HTTP, WebServer, Website, Documentation</PackageTags>
|
||||
|
|
|
@ -1,97 +0,0 @@
|
|||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETStandard,Version=v2.0/",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.0": {},
|
||||
".NETStandard,Version=v2.0/": {
|
||||
"Tesses.WebServer.Swagme/1.0.0": {
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "2.0.3",
|
||||
"Tesses.WebServer": "1.0.3.8"
|
||||
},
|
||||
"runtime": {
|
||||
"Tesses.WebServer.Swagme.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||
"MimeTypesMap/1.0.8": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/MimeTypesMap.dll": {
|
||||
"assemblyVersion": "1.0.8.0",
|
||||
"fileVersion": "1.0.8.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.1.25517"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Tesses.WebServer/1.0.3.8": {
|
||||
"dependencies": {
|
||||
"MimeTypesMap": "1.0.8",
|
||||
"Newtonsoft.Json": "13.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Tesses.WebServer.NetStandard.dll": {
|
||||
"assemblyVersion": "1.0.3.8",
|
||||
"fileVersion": "1.0.3.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Tesses.WebServer.Swagme/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||
"path": "microsoft.netcore.platforms/1.1.0",
|
||||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||
},
|
||||
"MimeTypesMap/1.0.8": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-iOm6Zar+yVROhlyrGGSJTfThvNoHLUeYeQQND9YD/ot/nA2qsWUp9kP2MHTdF9P7I8afW6eCf8vdELLZjDFdSQ==",
|
||||
"path": "mimetypesmap/1.0.8",
|
||||
"hashPath": "mimetypesmap.1.0.8.nupkg.sha512"
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
||||
"path": "netstandard.library/2.0.3",
|
||||
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
},
|
||||
"Tesses.WebServer/1.0.3.8": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3noCyyXgsiZhzKviqxbQaiqgIHGx0ZvxG9cepnddEbfFU20IYCzNRlgg0YraoDI3rNxkXNmsxGoKFd6xuKThYg==",
|
||||
"path": "tesses.webserver/1.0.3.8",
|
||||
"hashPath": "tesses.webserver.1.0.3.8.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -13,11 +13,11 @@ using System.Reflection;
|
|||
[assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("Documentation for Tesses.WebServer")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.1")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.1")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Tesses.WebServer.Swagme")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Tesses.WebServer.Swagme")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.1")]
|
||||
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://gitlab.tesses.net/tesses50/tesses-webserver-extras")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
|
|
@ -1 +1 @@
|
|||
d4ba86dba53eb944e5736828a93db5eaa7bb9e6d
|
||||
713e122aee86b675af34cb0d6136ec4d029dfad3
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
is_global = true
|
||||
build_property.RootNamespace = Tesses.WebServer.Swagme
|
||||
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/
|
||||
build_property.ProjectDir = /home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
a8b55929502172d6c17aacecf139a7622a7cd859
|
Binary file not shown.
Binary file not shown.
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {}
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"version": "1.0.0",
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"version": "1.0.1",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectName": "Tesses.WebServer.Swagme",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -20,7 +20,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
|
|
@ -272,13 +272,13 @@
|
|||
"/home/mike/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectName": "Tesses.WebServer.Swagme",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -287,7 +287,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "T3oKRR4Mhv86YH0CXDSqxb3p1lmxmzzKsu0f5+wMG8EnYwB6wu4U0Id5PNsZeul1rCdYQtrOfd41dkpgOhu4og==",
|
||||
"dgSpecHash": "jrqI50kN8o/hR4BKBLR/uhp9AohPcFEDdLXz4tyGp2tphrQqRaub+XXF5RQJKhFjmKJQK+3GAHoSk+etxaQjeg==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectFilePath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/mike/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
|
||||
|
|
|
@ -18,6 +18,15 @@ svr.Add("/SetValue",(e)=>{
|
|||
int.TryParse(_va,out value);
|
||||
}
|
||||
},new SwagmeDocumentation("/SetValue?num=42","Set a number","Set an integer in program<br><br><ul><li>num: <i>an integer</i></li></ul>"),group: "Setting Values");
|
||||
svr.Add("/SetValue",(e)=>{
|
||||
e.ParseBody();
|
||||
string _va;
|
||||
if(e.QueryParams.TryGetFirst("num",out _va))
|
||||
{
|
||||
|
||||
int.TryParse(_va,out value);
|
||||
}
|
||||
},new SwagmeDocumentation("/SetValue?num=42","Set a number","Set an integer in program<br><br><ul><li>num: <i>an integer</i></li></ul>"),"POST",group: "Setting Values");
|
||||
|
||||
RouteServer rsvr=new RouteServer();
|
||||
rsvr.Add("/",(e)=>{
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -7,4 +7,4 @@ build_property.InvariantGlobalization =
|
|||
build_property.PlatformNeutralAssembly =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Tesses.WebServer.SwagmeTest
|
||||
build_property.ProjectDir = /home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/
|
||||
build_property.ProjectDir = /home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
263d1571f8c7fd7ff41c0992e555552e03f8368a
|
||||
e007b5572406becde9d587823f10916ad4cf8c22
|
||||
|
|
|
@ -21,3 +21,26 @@
|
|||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.pdb
|
||||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.genruntimeconfig.cache
|
||||
/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/ref/Tesses.WebServer.SwagmeTest.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.deps.json
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.runtimeconfig.json
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.SwagmeTest.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/MimeTypesMap.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Newtonsoft.Json.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.NetStandard.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.EasyServer.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.Swagme.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.Swagme.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/bin/Debug/net6.0/Tesses.WebServer.EasyServer.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.AssemblyReference.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.AssemblyInfoInputs.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.AssemblyInfo.cs
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.CoreCompileInputs.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.csproj.CopyComplete
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/refint/Tesses.WebServer.SwagmeTest.dll
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.pdb
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/Tesses.WebServer.SwagmeTest.genruntimeconfig.cache
|
||||
/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/Debug/net6.0/ref/Tesses.WebServer.SwagmeTest.dll
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
40067e76ee89ad00cd34342584c4ab084124b21e
|
||||
e02a19fbcdcaf47e1a9076d3809aa776e759ce9e
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {}
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectName": "Tesses.WebServer.EasyServer",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -20,7 +20,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
@ -64,14 +65,14 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectName": "Tesses.WebServer.Swagme",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -80,7 +81,8 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
|
@ -124,14 +126,14 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectName": "Tesses.WebServer.SwagmeTest",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -140,17 +142,18 @@
|
|||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
|
||||
},
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,11 +143,11 @@
|
|||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectUniqueName": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectName": "Tesses.WebServer.SwagmeTest",
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"packagesPath": "/home/mike/.nuget/packages/",
|
||||
"outputPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/obj/",
|
||||
"outputPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/mike/.nuget/NuGet/NuGet.Config"
|
||||
|
@ -156,17 +156,18 @@
|
|||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://gitlab.tesses.net/api/v4/projects/27/packages/nuget/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj": {
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.EasyServer/Tesses.WebServer.EasyServer.csproj"
|
||||
},
|
||||
"/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"projectPath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
|
||||
"/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj": {
|
||||
"projectPath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.Swagme/Tesses.WebServer.Swagme.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "J0Hq9eI9ddLIMXjmIAFiBT2oylhBT2Gi5HHJDl66Jq62DGI8p2GKaznjgU/XCZ0SMX2624ayMjzrg+x2JAf3GQ==",
|
||||
"dgSpecHash": "CYh2YIaU38hSpRIpGUFMiPze1Jh4v0vFMgXAgrFXqESlLgKQlNsE8C07bepf7Sov3gLPkSeL+0+4+Q0SHNSyDQ==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/mike/Tesses.WebServer.Extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"projectFilePath": "/home/mike/Git/tesses-webserver-extras/Tesses.WebServer.SwagmeTest/Tesses.WebServer.SwagmeTest.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/mike/.nuget/packages/mimetypesmap/1.0.8/mimetypesmap.1.0.8.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/tesses.webserver/1.0.3.8/tesses.webserver.1.0.3.8.nupkg.sha512"
|
||||
"/home/mike/.nuget/packages/tesses.webserver/1.0.3.8/tesses.webserver.1.0.3.8.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/tesses.webserver.easyserver/1.0.0/tesses.webserver.easyserver.1.0.0.nupkg.sha512",
|
||||
"/home/mike/.nuget/packages/tesses.webserver.swagme/1.0.0/tesses.webserver.swagme.1.0.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
Loading…
Reference in New Issue