docs: Update swagger example to suit V3.0.1.

This commit is contained in:
Rodriq
2020-01-28 23:29:53 +01:00
committed by Tim Abbott
parent 0c0b446d43
commit f3cfddce81

View File

@@ -38,13 +38,13 @@ information in this section rarely changes.
For example, the `swagger` and `info` objects look like this:
```
# Basic Swagger UI info
swagger: '2.0'
openapi: 3.0.1
info:
version: '1.0.0'
version: 1.0.0
title: Zulip REST API
description: Powerful open source group chat
description: Powerful open source group chat.
contact:
url: https://zulip.org/
url: https://zulipchat.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html