blomqma / next-rest-framework

Type-safe, self-documenting APIs for Next.js
https://next-rest-framework.vercel.app
Other
134 stars 17 forks source link

Og Image for /api #124

Closed SaadBazaz closed 6 months ago

SaadBazaz commented 6 months ago

Hey, Would love to configure a cool OG Image alongside the other options:

  ...
  docsConfig: {
    logoUrl: '/omni_logo_black.png',
    faviconUrl: '/favicon-32x32.png',
    title: 'Omni API',
    description:
      'This is the backend which serves Omni Tools. For AI backends, please contact info@getomni.app.',
  },
  ...
blomqma commented 6 months ago

👍🏻 Support for basic custom OG meta tags has now been added in v5.1.0. Documented here: https://github.com/blomqma/next-rest-framework/tree/v5.1.0?tab=readme-ov-file#docs-config

SaadBazaz commented 6 months ago

🔥 as always.