mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	Display Security Scheme Name instead of ID
This commit is contained in:
		
							parent
							
								
									9852b8411a
								
							
						
					
					
						commit
						90c8f3131e
					
				| 
						 | 
				
			
			@ -58,7 +58,7 @@ export function SecurityRequirements(props: SecurityRequirementsProps) {
 | 
			
		|||
        operationSecuritySchemes.map((scheme, idx) => (
 | 
			
		||||
          <SecurityDetailsStyle key={idx}>
 | 
			
		||||
            <h5>
 | 
			
		||||
              <LockIcon /> {AUTH_TYPES[scheme.type] || scheme.type}: {scheme.id}
 | 
			
		||||
              <LockIcon /> {AUTH_TYPES[scheme.type] || scheme.type}: {scheme.displayName}
 | 
			
		||||
            </h5>
 | 
			
		||||
            <Markdown source={scheme.description || ''} />
 | 
			
		||||
            <SecurityDetails
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user