elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
90 stars 46 forks source link

Hide Open API Client Button #170

Open andrefelipeschulle opened 1 week ago

andrefelipeschulle commented 1 week ago

Is there any way to hide the "Open API Client" button?

Captura de Tela 2024-11-14 às 11 15 13 Captura de Tela 2024-11-14 às 11 15 26
dodas commented 1 week ago

You can do so with CSS:


new Elysia().use(
  swagger({
    scalarConfig: {
      customCss: `.open-api-client-button { display: none !important }`,
    },
  })
)