-
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.
- Loading branch information
Showing
4 changed files
with
415 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,69 @@ | ||
<!-- HTML for static distribution bundle build --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Swagger UI</title> | ||
<link rel="icon" type="image/png" href="images/logo.png"/> | ||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css" > | ||
<style> | ||
html | ||
{ | ||
box-sizing: border-box; | ||
overflow: -moz-scrollbars-vertical; | ||
overflow-y: scroll; | ||
} | ||
|
||
*, | ||
*:before, | ||
*:after | ||
{ | ||
box-sizing: inherit; | ||
} | ||
|
||
body | ||
{ | ||
margin:0; | ||
background: #fafafa; | ||
} | ||
.errors-wrapper { | ||
display: none !IMPORTANT; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="swagger-ui"></div> | ||
|
||
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"> </script> | ||
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-standalone-preset.js"> </script> <script> | ||
window.onload = function() { | ||
|
||
// Begin Swagger UI call region | ||
const ui = SwaggerUIBundle({ | ||
"dom_id": "#swagger-ui", | ||
deepLinking: true, | ||
presets: [ | ||
SwaggerUIBundle.presets.apis, | ||
SwaggerUIStandalonePreset | ||
], | ||
plugins: [ | ||
SwaggerUIBundle.plugins.DownloadUrl | ||
], | ||
layout: "StandaloneLayout", | ||
validatorUrl: "https://validator.swagger.io/validator", | ||
//url: "https://iris-fhir-server.s3.amazonaws.com/openapi/Patient.yml", | ||
urls: [ | ||
{url: "openapi/wasedatime-dev-staging-swagger.yaml", name: "wasedatime-dev"}, | ||
{url: "openapi/OAS30_biq3vr83u0_prod.yaml", name: "wasedatime-prod"} | ||
], | ||
"urls.primaryName": "wasedatime-dev" | ||
}) | ||
|
||
|
||
|
||
window.ui = ui | ||
} | ||
</script> | ||
</body> | ||
</html> |
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,22 @@ | ||
openapi: "3.0.1" | ||
info: | ||
title: "wasedatime-prod" | ||
version: "2020-10-29 15:40:46UTC" | ||
servers: | ||
- url: "https://api.wasedatime.com/v1/{basePath}" | ||
variables: | ||
basePath: | ||
default: "prod" | ||
tags: | ||
- name: "name" | ||
paths: | ||
/syllabus: | ||
get: | ||
responses: | ||
default: | ||
description: "Default response for GET /syllabus" | ||
/course-reviews: | ||
post: | ||
responses: | ||
default: | ||
description: "Default response for POST /course-reviews" |
Oops, something went wrong.