feat: add wrapper for OpenAPI 3.1.0 version label (#9267)

Refs #9167 
Refs #9264
This commit is contained in:
Patryk Rosiak
2023-09-29 14:09:01 +02:00
committed by GitHub
parent a34d7d3494
commit aa9cf56327

View File

@@ -35,8 +35,10 @@ const Info = ({ getComponent, specSelectors }) => {
<hgroup className="main">
<h2 className="title">
{title}
{version && <VersionStamp version={version} />}
<OpenAPIVersion oasVersion="3.1" />
<span>
{version && <VersionStamp version={version} />}
<OpenAPIVersion oasVersion="3.1" />
</span>
</h2>
{(host || basePath) && <InfoBasePath host={host} basePath={basePath} />}