Skip to content

Commit

Permalink
fix: fix infos
Browse files Browse the repository at this point in the history
  • Loading branch information
westofsky committed Oct 27, 2024
1 parent 6d2578f commit 62ad781
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/swagger-ui-bundle.js

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions src/core/components/info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Info extends React.Component {
<div className="info">
<hgroup className="main">
<h2 className="title">
{"Swaggy-Swagger Demo Site"}
{title}
<span>
{version && <VersionStamp version={version} />}
<OpenAPIVersion oasVersion="2.0" />
Expand All @@ -111,12 +111,14 @@ class Info extends React.Component {
{url && <InfoUrl getComponent={getComponent} url={url} />}
</hgroup>

<div className="description">Swaggy-Swagger Demo Site</div>
<div className="description">
<Markdown source={description} />
</div>

{termsOfServiceUrl && (
<div className="info__tos">
<Link target="_blank" href={"https://github.com/swaggy-swagger"}>
github
<Link target="_blank" href={sanitizeUrl(termsOfServiceUrl)}>
Terms of service
</Link>
</div>
)}
Expand Down

0 comments on commit 62ad781

Please sign in to comment.