aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Swagger/ApiConvention.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline/Swagger/ApiConvention.cs')
-rw-r--r--BackEnd/Timeline/Swagger/ApiConvention.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Swagger/ApiConvention.cs b/BackEnd/Timeline/Swagger/ApiConvention.cs
new file mode 100644
index 00000000..dbf0b2fe
--- /dev/null
+++ b/BackEnd/Timeline/Swagger/ApiConvention.cs
@@ -0,0 +1,15 @@
+using Microsoft.AspNetCore.Mvc;
+
+[assembly: ApiConventionType(typeof(Timeline.Controllers.ApiConvention))]
+
+namespace Timeline.Controllers
+{
+ // There is some bug if nullable is enable. So disable it.
+#nullable disable
+ /// <summary>
+ /// My api convention.
+ /// </summary>
+ public static class ApiConvention
+ {
+ }
+}