stacks-fireblocks-sdk
    Preparing search index...
    • Creates a middleware function that returns the pre-generated HTML file for the Swagger UI page.

      Parameters

      • OptionalswaggerDoc: JsonObject

        JSON object with the API schema.

      • Optionalopts: SwaggerUiOptions

        swagger-ui-express options.

      • Optionaloptions: SwaggerOptions

        custom Swagger options.

      • OptionalcustomCss: string

        string with a custom CSS to embed into the page.

      • OptionalcustomfavIcon: string

        link to a custom favicon.

      • OptionalswaggerUrl: string

        URL of the Swagger API schema, can be specified instead of the swaggerDoc.

      • OptionalcustomSiteTitle: string

        custom title for a page.

      Returns RequestHandler

      an express middleware function that returns the generated HTML page.

    • Parameters

      • OptionalswaggerDoc: JsonObject
      • OptionalisExplorer: boolean

      Returns RequestHandler