-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PS-58] Fix ReadME having the wrong instructions
Signed-off-by: Billy Robinson <[email protected]>
- Loading branch information
1 parent
489903b
commit 7943aeb
Showing
3 changed files
with
77 additions
and
1 deletion.
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
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,40 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Mock Facebook API - Swagger UI</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui.css" /> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: Arial, sans-serif; | ||
} | ||
.swagger-ui { | ||
background-color: #f4f4f4; | ||
padding: 20px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="swagger-ui"></div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui-bundle.js"> </script> | ||
<script> | ||
const ui = SwaggerUIBundle({ | ||
url: "https://raw.githubusercontent.com/PostSuite/api-mocked-facebook/refs/heads/dev/docs/openapi/openapi.json", | ||
dom_id: '#swagger-ui', | ||
presets: [ | ||
SwaggerUIBundle.presets.apis, | ||
], | ||
deepLinking: true, | ||
displayOperationId: false, | ||
filter: false, | ||
tryItOutEnabled: true, | ||
defaultModelsExpandDepth: -1, | ||
}); | ||
|
||
window.ui = ui; | ||
</script> | ||
</body> | ||
</html> |