forked from gitea/gitea
		
	Add better Swagger description and a example for GetArchive (#12743)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		
							parent
							
								
									43c303d35c
								
							
						
					
					
						commit
						3408fb73b6
					
				| @ -87,7 +87,7 @@ func GetArchive(ctx *context.APIContext) { | ||||
| 	//   required: true | ||||
| 	// - name: archive | ||||
| 	//   in: path | ||||
| 	//   description: archive to download, consisting of a git reference and archive | ||||
| 	//   description: the git reference for download with attached archive format (e.g. master.zip) | ||||
| 	//   type: string | ||||
| 	//   required: true | ||||
| 	// responses: | ||||
|  | ||||
| @ -2075,7 +2075,7 @@ | ||||
|           }, | ||||
|           { | ||||
|             "type": "string", | ||||
|             "description": "archive to download, consisting of a git reference and archive", | ||||
|             "description": "the git reference for download with attached archive format (e.g. master.zip)", | ||||
|             "name": "archive", | ||||
|             "in": "path", | ||||
|             "required": true | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 6543
						6543