79141710

Date: 2024-10-30 15:13:41
Score: 1.5
Natty:
Report link

Found a solution in another question.

I don't know if there is a better solution but solution I found is to define that route manually in the configuration.

# /config/nelmio_api_doc.yaml
nelmio_api_doc:
    documentation:
        # ... 
        paths:
            /api/revoke:
                get:
                    summary: Revoke JWT Token
                    responses:
                        '200':
                            description: HTTP 200 upon successful token revocation
Reasons:
  • Blacklisted phrase (1): another question
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nuryagdy Mustapayev