Files
ASP.NET-CORE-web-test/obj/Debug/net9.0/ApiEndpoints.json
2025-10-10 16:02:38 +08:00

232 lines
5.4 KiB
JSON

[
{
"ContainingType": "Program\u002B\u003C\u003Ec",
"Method": "\u003C\u003CMain\u003E$\u003Eb__0_4",
"RelativePath": "",
"HttpMethod": "GET",
"IsController": false,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.String",
"MediaTypes": [
"text/plain"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_5",
"RelativePath": "api/auth/",
"HttpMethod": "POST",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "loginRequest",
"Type": "SimpleTodoApiWithPg.Models.LoginRequest",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
],
"Tags": [
"\u767B\u5F55\u8BA4\u8BC1\u6388\u6743\u63A5\u53E3!"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_6",
"RelativePath": "api/auth/refresh-token",
"HttpMethod": "POST",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "refreshToken",
"Type": "SimpleTodoApiWithPg.Models.RefreshTokenRequest",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
],
"Tags": [
"\u5237\u65B0\u4EE4\u724C\u63A5\u53E3"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_0",
"RelativePath": "users/",
"HttpMethod": "GET",
"IsController": false,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[SimpleTodoApiWithPg.Models.User, SimpleTodoApiWithPg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"application/json"
],
"StatusCode": 200
},
{
"Type": "System.String",
"MediaTypes": [
"application/json"
],
"StatusCode": 400
}
],
"Tags": [
"\u83B7\u53D6\u6240\u6709\u7528\u6237"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_2",
"RelativePath": "users/",
"HttpMethod": "POST",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "request",
"Type": "SimpleTodoApiWithPg.Models.RegisterRequest",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "Microsoft.AspNetCore.Http.HttpValidationProblemDetails",
"MediaTypes": [
"application/problem\u002Bjson"
],
"StatusCode": 400
}
],
"Tags": [
"\u7528\u6237\u6CE8\u518C\u63A5\u53E3"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_1",
"RelativePath": "users/{id}",
"HttpMethod": "GET",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Guid",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "SimpleTodoApiWithPg.Models.User",
"MediaTypes": [
"application/json"
],
"StatusCode": 200
},
{
"Type": "System.String",
"MediaTypes": [
"application/json"
],
"StatusCode": 404
}
],
"Tags": [
"\u6839\u636Eid\u83B7\u53D6\u5BF9\u5E94\u7684\u7528\u6237\u4FE1\u606F"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_3",
"RelativePath": "users/{id}",
"HttpMethod": "PATCH",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
},
{
"Name": "updateUser",
"Type": "SimpleTodoApiWithPg.Models.UpdateUserRequest",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "SimpleTodoApiWithPg.Models.User",
"MediaTypes": [
"application/json"
],
"StatusCode": 200
},
{
"Type": "System.String",
"MediaTypes": [
"application/json"
],
"StatusCode": 404
}
],
"Tags": [
"\u7528\u6237\u4FE1\u606F\u66F4\u65B0\u63A5\u53E3"
]
},
{
"ContainingType": "SimpleTodoApiWithPg.Endpoints.UserEndpoints\u002B\u003C\u003Ec",
"Method": "\u003CMapUserEndpoints\u003Eb__0_4",
"RelativePath": "users/{id}",
"HttpMethod": "DELETE",
"IsController": false,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Guid",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.String",
"MediaTypes": [
"application/json"
],
"StatusCode": 200
},
{
"Type": "System.String",
"MediaTypes": [
"application/json"
],
"StatusCode": 404
}
],
"Tags": [
"\u5220\u9664\u7528\u6237\u63A5\u53E3"
]
}
]