SwaggerUI constructor
SwaggerUI(
- String schemaText, {
- SpecType specType = SpecType.json,
- String title = 'API Swagger',
- DocExpansion docExpansion = DocExpansion.list,
- SyntaxHighlightTheme syntaxHighlightTheme = SyntaxHighlightTheme.agate,
- bool deepLink = false,
- bool persistAuthorization = false,
Implementation
SwaggerUI(
this.schemaText, {
this.specType = SpecType.json,
this.title = 'API Swagger',
this.docExpansion = DocExpansion.list,
this.syntaxHighlightTheme = SyntaxHighlightTheme.agate,
this.deepLink = false,
this.persistAuthorization = false,
});