mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	docs: add some success response codes to openapi 3.1 (#2251)
This commit is contained in:
		
							parent
							
								
									1a38b870ae
								
							
						
					
					
						commit
						b4f71c6bbc
					
				| 
						 | 
				
			
			@ -805,11 +805,17 @@ paths:
 | 
			
		|||
      parameters:
 | 
			
		||||
        - name: username
 | 
			
		||||
          in: path
 | 
			
		||||
          description: name that need to be deleted
 | 
			
		||||
          description: name that need to be updated
 | 
			
		||||
          required: true
 | 
			
		||||
          schema:
 | 
			
		||||
            type: string
 | 
			
		||||
      responses:
 | 
			
		||||
        '200':
 | 
			
		||||
          description: User is updated successfully
 | 
			
		||||
          content:
 | 
			
		||||
            application/json:
 | 
			
		||||
              schema:
 | 
			
		||||
                $ref: '#/components/schemas/User'
 | 
			
		||||
        '400':
 | 
			
		||||
          description: Invalid user supplied
 | 
			
		||||
        '404':
 | 
			
		||||
| 
						 | 
				
			
			@ -835,6 +841,8 @@ paths:
 | 
			
		|||
          schema:
 | 
			
		||||
            type: string
 | 
			
		||||
      responses:
 | 
			
		||||
        '204':
 | 
			
		||||
          description: User is deleted
 | 
			
		||||
        '400':
 | 
			
		||||
          description: Invalid username supplied
 | 
			
		||||
        '404':
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user