code: def greeting2(self):
          
          if request.method == "GET":
              return self.response(200, message="Hello (GET)")
          return self.response(201, message="Hello (POST)")
docs: Send a greeting
          ---
          get:
            responses:
              200:
                description: Greet the user
                content:
                  application/json:
                    schema:
                      type: object
                      properties:
                        message:
                          type: string
          post:
            responses:
              201:
                description: Greet the user
                content:
                  application/json:
                    schema:
                      type: object
                      properties:
                        message:
                          type: string