mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<div class="method">
 | 
						|
    <div class="method-content">
 | 
						|
        <h2 class="method-header sharable-header">
 | 
						|
            <a class="share-link" href="#{{method.anchor}}"></a>{{method.summary}}
 | 
						|
        </h2>
 | 
						|
        <div class="method-tags" *ngIf="method.info.tags.length">
 | 
						|
            <a *ngFor="let tag of method.info.tags" attr.href="#tag/{{tag}}"> {{tag}} </a>
 | 
						|
        </div>
 | 
						|
        <p *ngIf="method.info.description" class="method-description"
 | 
						|
        [innerHtml]="method.info.description | marked">
 | 
						|
    </p>
 | 
						|
    <params-list pointer="{{pointer}}/parameters"> </params-list>
 | 
						|
    <responses-list pointer="{{pointer}}/responses"> </responses-list>
 | 
						|
</div>
 | 
						|
<div class="method-samples">
 | 
						|
    <h5>Definition</h5>
 | 
						|
 | 
						|
    <div class="method-endpoint">
 | 
						|
      <h5 class="http-method" [ngClass]="method.httpMethod">{{method.httpMethod}}</h5>
 | 
						|
      <span select-on-click><!--
 | 
						|
      --><span class="api-url">{{method.apiUrl}}</span><span class="path">{{method.path}}</span><!--
 | 
						|
  --></span>
 | 
						|
    </div>
 | 
						|
 | 
						|
    <div *ngIf="method.bodyParam">
 | 
						|
        <br>
 | 
						|
        <request-samples [pointer]="pointer" [schemaPointer]="method.bodyParam._pointer">
 | 
						|
        </request-samples>
 | 
						|
    </div>
 | 
						|
    <div>
 | 
						|
        <br>
 | 
						|
        <responses-samples pointer="{{pointer}}/responses"> </responses-samples>
 | 
						|
    </div>
 | 
						|
</div>
 | 
						|
<div>
 |