@expose("<STR_LIT>", methods=["<STR_LIT:POST>"])<EOL><INDENT>@jwt_refresh_token_required<EOL>@safe<EOL>def refresh(self):<DEDENT>
resp = {<EOL>API_SECURITY_REFRESH_TOKEN_KEY: create_access_token(<EOL>identity=get_jwt_identity(), fresh=False<EOL>)<EOL>}<EOL>return self.response(<NUM_LIT:200>, **resp)<EOL>
Security endpoint for the refresh token, so we can obtain a new
    token without forcing the user to login again
---
post:
  responses:
    200:
      description: Refresh Successful
      content:
        application/json:
          schema:
            type: object
            properties:
              refresh_token:
                type: string
    401:
      $ref: '#/components/responses/401'
    500:
      $ref: '#/components/responses/500'