Skip to content

Commit

Permalink
feat: add wrapper for OpenAPI 3.1.0 version label (#9267)
Browse files Browse the repository at this point in the history
Refs #9167 
Refs #9264
  • Loading branch information
tekyu authored Sep 29, 2023
1 parent a34d7d3 commit aa9cf56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/plugins/oas31/components/info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />}
Expand Down

0 comments on commit aa9cf56

Please sign in to comment.