diff --git a/README.md b/README.md index becf2f4..cb585b8 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ def get(query: QueryModel): ) ``` - + See the full example app here @@ -160,7 +160,7 @@ class RequestBodyModel(BaseModel): # Example2: request body only @app.route("/", methods=["POST"]) @validate() -def post(body: RequestBodyModel): +def post(body: RequestBodyModel): name = body.name nickname = body.nickname return ResponseModel( @@ -168,7 +168,7 @@ def post(body: RequestBodyModel): ) ``` - + See the full example app here @@ -188,7 +188,7 @@ def get_and_post(body: RequestBodyModel,query: QueryModel): ) ``` - + See the full example app here @@ -203,7 +203,7 @@ class RequestFormDataModel(BaseModel): # Example2: request body only @app.route("/", methods=["POST"]) @validate() -def post(form: RequestFormDataModel): +def post(form: RequestFormDataModel): name = form.name nickname = form.nickname return ResponseModel( @@ -211,7 +211,7 @@ def post(form: RequestFormDataModel): ) ``` - + See the full example app here