@@ -19,23 +19,23 @@ async def get_all_counters():
1919 return CounterResponse (** mm_counter .get_all ())
2020
2121
22- @router .post (
23- "/good" ,
24- description = "Increment the good counter" ,
25- response_description = "Increment the good counter" ,
26- response_model = CounterResponse ,
27- operation_id = "mm_good_increment" ,
28- )
29- async def increment_good ():
30- return CounterResponse (** mm_counter .increment ("good" ))
31-
32-
33- @router .post (
34- "/evil" ,
35- description = "Increment the evil counter" ,
36- response_description = "Increment the evil counter" ,
37- response_model = CounterResponse ,
38- operation_id = "mm_evil_increment" ,
39- )
40- async def increment_evil ():
41- return CounterResponse (** mm_counter .increment ("evil" ))
22+ # @router.post(
23+ # "/good",
24+ # description="Increment the good counter",
25+ # response_description="Increment the good counter",
26+ # response_model=CounterResponse,
27+ # operation_id="mm_good_increment",
28+ # )
29+ # async def increment_good():
30+ # return CounterResponse(**mm_counter.increment("good"))
31+ #
32+ #
33+ # @router.post(
34+ # "/evil",
35+ # description="Increment the evil counter",
36+ # response_description="Increment the evil counter",
37+ # response_model=CounterResponse,
38+ # operation_id="mm_evil_increment",
39+ # )
40+ # async def increment_evil():
41+ # return CounterResponse(**mm_counter.increment("evil"))
0 commit comments