@expose("<STR_LIT>", methods=["<STR_LIT:POST>", "<STR_LIT:GET>"])<EOL><INDENT>def greeting2(self):<DEDENT>
if request.method == "<STR_LIT:GET>":<EOL><INDENT>return self.response(<NUM_LIT:200>, message="<STR_LIT>")<EOL><DEDENT>return self.response(<NUM_LIT>, message="<STR_LIT>")<EOL>
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