mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			497 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			497 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<header *ngIf="data.bodySchemaPtr || data.samples.length"> Request samples </header>
 | 
						|
<schema-sample *ngIf="!data.samples.length" [pointer]="data.bodySchemaPtr"> </schema-sample>
 | 
						|
<tabs *ngIf="data.samples.length" (change)=changeLangNotify($event)>
 | 
						|
  <tab tabTitle="JSON">
 | 
						|
    <schema-sample [pointer]="data.bodySchemaPtr"> </schema-sample>
 | 
						|
  </tab>
 | 
						|
  <tab *ngFor="#sample of data.samples" [tabTitle]="sample.lang">
 | 
						|
    <pre innerHtml="{{sample.source | prism:sample.lang}}"></pre>
 | 
						|
  </tab>
 | 
						|
</tabs>
 |