docs: Beschrijving API servers
This commit is contained in:
		
							parent
							
								
									855620cb67
								
							
						
					
					
						commit
						834ff236aa
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		|  | @ -13,9 +13,11 @@ const doc = { | ||||||
|     servers: [ |     servers: [ | ||||||
|         { |         { | ||||||
|             url: 'http://localhost:3000/', |             url: 'http://localhost:3000/', | ||||||
|  |             description: 'Development server' | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             url: 'https://sel2-1.ugent.be/api' |             url: 'https://sel2-1.ugent.be/api', | ||||||
|  |             description: 'Production server' | ||||||
|         } |         } | ||||||
|     ], |     ], | ||||||
|     components: { |     components: { | ||||||
|  |  | ||||||
|  | @ -11,10 +11,12 @@ | ||||||
|   }, |   }, | ||||||
|   "servers": [ |   "servers": [ | ||||||
|     { |     { | ||||||
|       "url": "http://localhost:3000/" |       "url": "http://localhost:3000/", | ||||||
|  |       "description": "Development server" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "url": "https://sel2-1.ugent.be/api" |       "url": "https://sel2-1.ugent.be/api", | ||||||
|  |       "description": "Production server" | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "paths": { |   "paths": { | ||||||
|  |  | ||||||
		Reference in a new issue