Help Center/
    
      
      API Gateway/
      
      
        
        
        User Guide/
        
        
        Managing APIs/
        
        
        API Design File Extension Definitions/
        
      
      x-apigateway-any-method
    
  
  
    
        Updated on 2024-11-27 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
x-apigateway-any-method
Meaning: API request method used by default if no HTTP request method is specified.
Scope of effect: Path Item Object (2.0)/Path Item Object (3.0)
Example:
paths:
  '/path':
    get:
      produces:
        - application/json
      responses:
        "200":
          description: "get response"
    x-apigateway-any-method:
      produces:
        - application/json
      responses:
        "200":
          description: "any response"
 | 
       Parameter  | 
     
       Mandatory  | 
     
       Type  | 
     
       Description  | 
    
|---|---|---|---|
| 
       x-apigateway-any-method  | 
     
       No  | 
     
       String  | 
     
       Request method.  | 
    
   Parent topic: API Design File Extension Definitions
  
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
                The system is busy. Please try again later.
                
            
        For any further questions, feel free to contact us through the chatbot.
Chatbot