mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			912 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			912 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>
 | 
						|
<zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"
 | 
						|
  [type]="response.type" [empty]="response.empty" (open)="lazySchema.load()">
 | 
						|
  <div *ngIf="response.headers" class="response-headers">
 | 
						|
    <header>
 | 
						|
      Headers
 | 
						|
    </header>
 | 
						|
    <div class="header" *ngFor="#header of response.headers">
 | 
						|
      <div class="header-name"> {{header.name}} </div>
 | 
						|
      <div class="header-type"> {{header.type}} </div>
 | 
						|
      <div class="header-description" innerHtml="{{header.description | marked}}"> </div>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
  <json-schema *ngIf="response.schema && options.disableLazySchemas" class="schema type" pointer="{{response.pointer}}/schema">
 | 
						|
  </json-schema>
 | 
						|
  <json-schema-lazy #lazySchema pointer="{{response.schema ? response.pointer + '/schema' : null}}">
 | 
						|
  </json-schema-lazy>
 | 
						|
</zippy>
 |