feat: add tryItOutEnabled configuration (#6865)

* feat: add tryItOutEnabled configuration

allow users to set tryItOutEnabled: true to display
the "Try it out" section by default

tryItOutEnabled to take === "true" for the
query string value or === true if someone
implements query string type parsing in the query
This commit is contained in:
Kyle Hoskins
2021-01-26 11:00:38 -06:00
committed by GitHub
parent 470e2fed9b
commit 265bdc07b7
10 changed files with 58 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
openapi: 3.0.2
info:
title: try it out enabled test
version: 0.0.1
description: |-
a simple test to ensure tryItOutEnabled=true expands "Try it out"
paths:
/:
get:
summary: an operation
responses:
"200":
description: OK