@@ -19,6 +19,20 @@ public CommandMetadataRouteDefinitionInitialBuilder(Type apiEndpointType)
1919
2020 /// <summary>
2121 /// Configure Post <paramref name="route"/>
22+ /// <para />
23+ /// Defaults values to the following:
24+ /// <list type="bullet">
25+ /// <item>
26+ /// <description>
27+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 201
28+ /// </description>
29+ /// </item>
30+ /// <item>
31+ /// <description>
32+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 400
33+ /// </description>
34+ /// </item>
35+ /// </list>
2236 /// </summary>
2337 public MetadataRouteDefinitionBuilder Post ( string route )
2438 {
@@ -33,6 +47,20 @@ public MetadataRouteDefinitionBuilder Post(string route)
3347 /// <summary>
3448 /// Configure Post <paramref name="route"/> with <paramref name="parameterDefinitions"/>
3549 /// <para>You only need to specify the parameters that DO NOT use <see cref="MapFromAttribute"/></para>
50+ /// <para />
51+ /// Defaults values to the following:
52+ /// <list type="bullet">
53+ /// <item>
54+ /// <description>
55+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 201
56+ /// </description>
57+ /// </item>
58+ /// <item>
59+ /// <description>
60+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 400
61+ /// </description>
62+ /// </item>
63+ /// </list>
3664 /// </summary>
3765 public MetadataRouteDefinitionBuilder Post ( string route , params ( string name , MetadataRouteParameterDefinitionType parameterDefinitionType , Type type ) [ ] parameterDefinitions )
3866 {
@@ -47,6 +75,20 @@ public MetadataRouteDefinitionBuilder Post(string route, params (string name, Me
4775
4876 /// <summary>
4977 /// Configure Put <paramref name="route"/>
78+ /// <para />
79+ /// Defaults values to the following:
80+ /// <list type="bullet">
81+ /// <item>
82+ /// <description>
83+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 201
84+ /// </description>
85+ /// </item>
86+ /// <item>
87+ /// <description>
88+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
89+ /// </description>
90+ /// </item>
91+ /// </list>
5092 /// </summary>
5193 public MetadataRouteDefinitionBuilder Put ( string route )
5294 {
@@ -61,6 +103,20 @@ public MetadataRouteDefinitionBuilder Put(string route)
61103 /// <summary>
62104 /// Configure Put <paramref name="route"/> with <paramref name="parameterDefinitions"/>
63105 /// <para>You only need to specify the parameters that DO NOT use <see cref="MapFromAttribute"/></para>
106+ /// <para />
107+ /// Defaults values to the following:
108+ /// <list type="bullet">
109+ /// <item>
110+ /// <description>
111+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 201
112+ /// </description>
113+ /// </item>
114+ /// <item>
115+ /// <description>
116+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
117+ /// </description>
118+ /// </item>
119+ /// </list>
64120 /// </summary>
65121 public MetadataRouteDefinitionBuilder Put ( string route , params ( string name , MetadataRouteParameterDefinitionType parameterDefinitionType , Type type ) [ ] parameterDefinitions )
66122 {
@@ -75,6 +131,20 @@ public MetadataRouteDefinitionBuilder Put(string route, params (string name, Met
75131
76132 /// <summary>
77133 /// Configure Patch <paramref name="route"/>
134+ /// <para />
135+ /// Defaults values to the following:
136+ /// <list type="bullet">
137+ /// <item>
138+ /// <description>
139+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 200
140+ /// </description>
141+ /// </item>
142+ /// <item>
143+ /// <description>
144+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
145+ /// </description>
146+ /// </item>
147+ /// </list>
78148 /// </summary>
79149 public MetadataRouteDefinitionBuilder Patch ( string route )
80150 {
@@ -89,6 +159,20 @@ public MetadataRouteDefinitionBuilder Patch(string route)
89159 /// <summary>
90160 /// Configure Patch <paramref name="route"/> with <paramref name="parameterDefinitions"/>
91161 /// <para>You only need to specify the parameters that DO NOT use <see cref="MapFromAttribute"/></para>
162+ /// <para />
163+ /// Defaults values to the following:
164+ /// <list type="bullet">
165+ /// <item>
166+ /// <description>
167+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 200
168+ /// </description>
169+ /// </item>
170+ /// <item>
171+ /// <description>
172+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
173+ /// </description>
174+ /// </item>
175+ /// </list>
92176 /// </summary>
93177 public MetadataRouteDefinitionBuilder Patch ( string route , params ( string name , MetadataRouteParameterDefinitionType parameterDefinitionType , Type type ) [ ] parameterDefinitions )
94178 {
@@ -103,6 +187,20 @@ public MetadataRouteDefinitionBuilder Patch(string route, params (string name, M
103187
104188 /// <summary>
105189 /// Configure Delete <paramref name="route"/>
190+ /// <para />
191+ /// Defaults values to the following:
192+ /// <list type="bullet">
193+ /// <item>
194+ /// <description>
195+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 200
196+ /// </description>
197+ /// </item>
198+ /// <item>
199+ /// <description>
200+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
201+ /// </description>
202+ /// </item>
203+ /// </list>
106204 /// </summary>
107205 public MetadataRouteDefinitionBuilder Delete ( string route )
108206 {
@@ -117,6 +215,20 @@ public MetadataRouteDefinitionBuilder Delete(string route)
117215 /// <summary>
118216 /// Configure Delete <paramref name="route"/> with <paramref name="parameterDefinitions"/>
119217 /// <para>You only need to specify the parameters that DO NOT use <see cref="MapFromAttribute"/></para>
218+ /// <para />
219+ /// Defaults values to the following:
220+ /// <list type="bullet">
221+ /// <item>
222+ /// <description>
223+ /// <see cref="MetadataRouteDefinition.SuccessStatusCode"/> = 200
224+ /// </description>
225+ /// </item>
226+ /// <item>
227+ /// <description>
228+ /// <see cref="MetadataRouteDefinition.FailedStatusCode"/> = 404
229+ /// </description>
230+ /// </item>
231+ /// </list>
120232 /// </summary>
121233 public MetadataRouteDefinitionBuilder Delete ( string route , params ( string name , MetadataRouteParameterDefinitionType parameterDefinitionType , Type type ) [ ] parameterDefinitions )
122234 {
0 commit comments