{# # Badge méthode HTTP — style documentation API (solid, monospace). # Paramètres : method (string) — GET, POST, PUT, PATCH, DELETE #} {% set styles = { 'GET': 'bg-success text-white', 'POST': 'bg-primary text-white', 'PUT': 'bg-warning text-white', 'PATCH': 'bg-warning text-white', 'DELETE': 'bg-error text-white' } %} {{ method }}