add example for properties of swagger schema object

This commit is contained in:
John Guo
2022-03-23 15:05:37 +08:00
parent 6574b8cbfe
commit 80c068ae05

View File

@ -31,7 +31,7 @@ const (
</style>
</head>
<body>
<redoc spec-url="{SwaggerUIDocUrl}"></redoc>
<redoc spec-url="{SwaggerUIDocUrl}" show-object-schema-examples="true"></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script>
</body>
</html>