mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	docs: Update swagger example to suit V3.0.1.
This commit is contained in:
		@@ -38,13 +38,13 @@ information in this section rarely changes.
 | 
				
			|||||||
For example, the `swagger` and `info` objects look like this:
 | 
					For example, the `swagger` and `info` objects look like this:
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
# Basic Swagger UI info
 | 
					# Basic Swagger UI info
 | 
				
			||||||
swagger: '2.0'
 | 
					openapi: 3.0.1
 | 
				
			||||||
info:
 | 
					info:
 | 
				
			||||||
  version: '1.0.0'
 | 
					  version: 1.0.0
 | 
				
			||||||
  title: Zulip REST API
 | 
					  title: Zulip REST API
 | 
				
			||||||
  description: Powerful open source group chat
 | 
					  description: Powerful open source group chat.
 | 
				
			||||||
  contact:
 | 
					  contact:
 | 
				
			||||||
    url: https://zulip.org/
 | 
					    url: https://zulipchat.com
 | 
				
			||||||
  license:
 | 
					  license:
 | 
				
			||||||
    name: Apache 2.0
 | 
					    name: Apache 2.0
 | 
				
			||||||
    url: https://www.apache.org/licenses/LICENSE-2.0.html
 | 
					    url: https://www.apache.org/licenses/LICENSE-2.0.html
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user