mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 15:57:30 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="method">
 | |
|   <div class="method-content">
 | |
|     <h2 class="method-header sharable-header">
 | |
|       <a class="share-link" href="#{{tag}}{{pointer}}"></a>{{data.methodInfo.summary}}
 | |
|     </h2>
 | |
|     <h3 class="method-endpoint">
 | |
|       <span class="http-method" [ng-class]="data.method">{{data.method}}</span>
 | |
|       <span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
 | |
|     </h3>
 | |
|     <div class="method-tags" *ng-if="data.methodInfo.tags.length">
 | |
|       <a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
 | |
|     </div>
 | |
|     <p *ng-if="data.methodInfo.description" class="method-description"
 | |
|       inner-html="{{data.methodInfo.description | marked}}">
 | |
|     </p>
 | |
|     <params-list pointer="{{pointer}}/parameters"> </params-list>
 | |
|     <responses-list pointer="{{pointer}}/responses"> </responses-list>
 | |
|   </div>
 | |
|   <div class="method-samples">
 | |
|     <div *ng-if="data.bodyParam">
 | |
|       <header> Body sample </header>
 | |
|       <schema-sample pointer="{{data.bodyParam._pointer}}/schema"> </schema-sample>
 | |
|     </div>
 | |
|     <div>
 | |
|       <responses-samples pointer="{{pointer}}/responses"> </responses-samples>
 | |
|     </div>
 | |
|   </div>
 | |
| <div>
 |