-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fd6e33
commit e2d7c98
Showing
13 changed files
with
49 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react" | ||
import PropTypes from "prop-types" | ||
|
||
|
||
const OpenAPIVersion = ({ oasVersion }) => ( | ||
<small className="version-stamp"> | ||
<pre className="version">OAS {oasVersion}</pre> | ||
</small> | ||
) | ||
|
||
OpenAPIVersion.propTypes = { | ||
oasVersion: PropTypes.string.isRequired | ||
} | ||
|
||
export default OpenAPIVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import Markdown from "./markdown" | ||
import AuthItem from "./auth-item" | ||
import VersionStamp from "./version-stamp" | ||
import OnlineValidatorBadge from "./online-validator-badge" | ||
import Model from "./model" | ||
import JsonSchema_string from "./json-schema-string" | ||
import OpenAPIVersion from "./openapi-version" | ||
|
||
export default { | ||
Markdown, | ||
AuthItem, | ||
OpenAPIVersion, | ||
JsonSchema_string, | ||
VersionStamp, | ||
model: Model, | ||
onlineValidatorBadge: OnlineValidatorBadge, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react" | ||
import { OAS30ComponentWrapFactory } from "../helpers" | ||
|
||
export default OAS30ComponentWrapFactory((props) => { | ||
const { Ori } = props | ||
return <Ori oasVersion="3.0" /> | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
...e2e-cypress/e2e/features/oas3-badge.cy.js → .../e2e-cypress/e2e/features/oas-badge.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters