{"repo":"benirave/AspNetCore.Scalar","free":true,"listed":false,"github":"https://github.com/benirave/AspNetCore.Scalar","clone":"git clone https://github.com/benirave/AspNetCore.Scalar.git","description":"Scalar API reference from Swagger/OpenAPI files for .NET🔥","language":"C#","stars":49,"topics":["api","api-rest","openapi","swagger","swagger-ui","docs","openapi3"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":".NET Scalar API Reference Add the Scalar API Reference to any of your .NET applications. dotnet add package AspNetCore.Scalar --version 1.2.0 Usage To incorporate the Scalar UI, simply expose an OpenAPI schema by using Swashbuckle or NSwag, and then invoke the app.UseScalar() . Code example.: Explore a working example here. Customization Options InjectStylesheet - Description : Injects a stylesheet link into the head content of the ScalarOptions. - Parameters : - path (string): The path to the stylesheet file. - media (string, optional): The media type for which the stylesheet is intended. Default value is \"screen\". UseSpecUrl - Description : Sets the URL for the specification page. - Parameters : - url (string): The URL of the specification page. UseCdn - Description : Sets the CDN URL for the asset. - Default : https://cdn.jsdelivr.net/npm/@scalar/api-reference - Parameters : - url (string): The URL of the cdn asset. UseProxy - Description : Sets the Proxy URL to use. - Parameters : - url (string): The URL of the proxy server. UseLayout - Description : Sets the layout for the ScalarOptions. You can use 'Modern' and Classic. - Default : Modern - Parameters : - layout (Theme): An enum representing the layout to use. UseTheme - Description : Sets the theme for the ScalarOptions. - Parameters : - theme (Theme): An enum representing the theme to use. HideSidebar - Description : Hides the sidebar in the ScalarOptions. - Parameters : None. UseSearchAsHotKey - Description : Sets th","default_branch":null,"files":null,"tree":[],"storefront":"/r/benirave","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benirave/AspNetCore.Scalar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}