forked from mirrors/homebox
		
	fix: add parseDependency to swag (#486)
This commit is contained in:
		
							parent
							
								
									f66d14eeea
								
							
						
					
					
						commit
						c538518b4b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -20,7 +20,7 @@ tasks: | |||
|       - db:generate | ||||
|     cmds: | ||||
|       - cd backend/app/api/static && swag fmt --dir=../ | ||||
|       - cd backend/app/api/static && swag init --dir=../,../../../internal,../../../pkgs | ||||
|       - cd backend/app/api/static && swag init --dir=../,../../../internal,../../../pkgs --parseDependency | ||||
|       - | | ||||
|         npx swagger-typescript-api \ | ||||
|           --no-client \ | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ type ( | |||
| //	@Param    type formData string true "Type of file" | ||||
| //	@Param    name formData string true "name of the file including extension" | ||||
| //	@Success  200  {object} repo.ItemOut | ||||
| //	@Failure  422  {object} mid.ErrorResponse | ||||
| //	@Failure  422  {object} validate.ErrorResponse | ||||
| //	@Router   /v1/items/{id}/attachments [POST] | ||||
| //	@Security Bearer | ||||
| func (ctrl *V1Controller) HandleItemAttachmentCreate() errchain.HandlerFunc { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue