1+ #![ allow( unused_variables) ]
2+ #![ allow( unused_imports) ]
3+
4+ use crate :: models:: * ;
5+ use crate :: security;
16use actix_multipart:: Multipart ;
27use actix_web:: { web, HttpResponse , Responder } ;
38use chrono:: { DateTime , NaiveDate , NaiveDateTime , Utc } ;
@@ -20,7 +25,7 @@ pub async fn add_pet(
2025 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
2126 > ,
2227) -> impl Responder {
23- todo ! ( )
28+ HttpResponse :: NotImplemented ( ) . finish ( )
2429}
2530
2631/// Query parameters for `update_pet`.
@@ -38,7 +43,7 @@ pub async fn update_pet(
3843 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
3944 > ,
4045) -> impl Responder {
41- todo ! ( )
46+ HttpResponse :: NotImplemented ( ) . finish ( )
4247}
4348
4449/// Query parameters for `find_pets_by_status`.
@@ -57,7 +62,7 @@ pub async fn find_pets_by_status(
5762 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
5863 > ,
5964) -> impl Responder {
60- todo ! ( )
65+ HttpResponse :: NotImplemented ( ) . finish ( )
6166}
6267
6368/// Query parameters for `find_pets_by_tags`.
@@ -77,7 +82,7 @@ pub async fn find_pets_by_tags(
7782 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
7883 > ,
7984) -> impl Responder {
80- todo ! ( )
85+ HttpResponse :: NotImplemented ( ) . finish ( )
8186}
8287
8388/// Find pet by ID
@@ -87,7 +92,7 @@ pub async fn get_pet_by_id(
8792 pet_id : web:: Path < i64 > ,
8893 api_key : web:: ReqData < security:: ApiKey > ,
8994) -> impl Responder {
90- todo ! ( )
95+ HttpResponse :: NotImplemented ( ) . finish ( )
9196}
9297
9398/// Query parameters for `update_pet_with_form`.
@@ -108,7 +113,7 @@ pub async fn update_pet_with_form(
108113 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
109114 > ,
110115) -> impl Responder {
111- todo ! ( )
116+ HttpResponse :: NotImplemented ( ) . finish ( )
112117}
113118
114119/// Deletes a pet
@@ -120,7 +125,7 @@ pub async fn delete_pet(
120125 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
121126 > ,
122127) -> impl Responder {
123- todo ! ( )
128+ HttpResponse :: NotImplemented ( ) . finish ( )
124129}
125130
126131/// Query parameters for `upload_file`.
@@ -142,5 +147,5 @@ pub async fn upload_file(
142147 security:: PetstoreAuth < ( security:: scopes:: WritePets , security:: scopes:: ReadPets ) > ,
143148 > ,
144149) -> impl Responder {
145- todo ! ( )
150+ HttpResponse :: NotImplemented ( ) . finish ( )
146151}
0 commit comments