├── robots.txt
├── _sass
├── _variables.scss
└── bootstrap
│ └── scss
│ ├── utilities
│ ├── _clearfix.scss
│ ├── _overflow.scss
│ ├── _interactions.scss
│ ├── _screenreaders.scss
│ ├── _visibility.scss
│ ├── _shadows.scss
│ ├── _float.scss
│ ├── _align.scss
│ ├── _background.scss
│ ├── _stretched-link.scss
│ ├── _sizing.scss
│ ├── _position.scss
│ ├── _display.scss
│ ├── _embed.scss
│ ├── _borders.scss
│ ├── _text.scss
│ ├── _spacing.scss
│ └── _flex.scss
│ ├── _media.scss
│ ├── mixins
│ ├── _clearfix.scss
│ ├── _size.scss
│ ├── _lists.scss
│ ├── _text-truncate.scss
│ ├── _resize.scss
│ ├── _visibility.scss
│ ├── _alert.scss
│ ├── _text-hide.scss
│ ├── _badge.scss
│ ├── _nav-divider.scss
│ ├── _float.scss
│ ├── _list-group.scss
│ ├── _text-emphasis.scss
│ ├── _reset-text.scss
│ ├── _pagination.scss
│ ├── _box-shadow.scss
│ ├── _deprecate.scss
│ ├── _transition.scss
│ ├── _background-variant.scss
│ ├── _hover.scss
│ ├── _table-row.scss
│ ├── _screen-reader.scss
│ ├── _image.scss
│ ├── _caret.scss
│ ├── _border-radius.scss
│ ├── _gradients.scss
│ ├── _grid.scss
│ ├── _grid-framework.scss
│ ├── _buttons.scss
│ ├── _breakpoints.scss
│ └── _forms.scss
│ ├── _transitions.scss
│ ├── bootstrap-reboot.scss
│ ├── _jumbotron.scss
│ ├── _utilities.scss
│ ├── bootstrap-grid.scss
│ ├── _root.scss
│ ├── _close.scss
│ ├── bootstrap.scss
│ ├── _code.scss
│ ├── _mixins.scss
│ ├── _toasts.scss
│ ├── _images.scss
│ ├── _spinners.scss
│ ├── _badge.scss
│ ├── _progress.scss
│ ├── _alert.scss
│ ├── _breadcrumb.scss
│ ├── _grid.scss
│ ├── _pagination.scss
│ ├── _nav.scss
│ ├── _type.scss
│ ├── _tooltip.scss
│ ├── _buttons.scss
│ ├── _print.scss
│ ├── _button-group.scss
│ ├── _tables.scss
│ ├── _list-group.scss
│ ├── _functions.scss
│ ├── _dropdown.scss
│ ├── _popover.scss
│ ├── _carousel.scss
│ ├── _input-group.scss
│ ├── _card.scss
│ ├── vendor
│ └── _rfs.scss
│ ├── _modal.scss
│ └── _navbar.scss
├── favicon.ico
├── assets
├── img
│ ├── image.png
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── apple-touch-icon.png
│ ├── mstile-150x150.png
│ ├── android-chrome-192x192.png
│ ├── android-chrome-384x384.png
│ ├── android-chrome-512x512.png
│ └── safari-pinned-tab.svg
├── js
│ ├── script.js
│ └── prism.min.js
└── css
│ └── style.scss
├── .gitignore
├── _includes
├── schema
│ ├── array.html
│ ├── object.html
│ ├── reference.html
│ └── properties.html
├── utils
│ ├── idify.html
│ ├── titleize.html
│ ├── query_string.html
│ ├── request_method.html
│ └── variables.html
├── request_body.html
├── schema.html
├── response.html
└── parameters.html
├── .editorconfig
├── browserconfig.xml
├── Gemfile
├── 404.html
├── site.webmanifest
├── _config.yml
├── README.md
├── _layouts
└── default.html
├── index.html
└── _data
└── openapi.json
/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow: /assets/
3 |
--------------------------------------------------------------------------------
/_sass/_variables.scss:
--------------------------------------------------------------------------------
1 | $font-size-base: .875rem !default;
2 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/favicon.ico
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_clearfix.scss:
--------------------------------------------------------------------------------
1 | .clearfix {
2 | @include clearfix();
3 | }
4 |
--------------------------------------------------------------------------------
/assets/img/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/image.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | _site/
2 | .DS_Store
3 | .sass-cache/
4 | .jekyll-cache/
5 | .jekyll-metadata
6 | Gemfile.lock
7 |
--------------------------------------------------------------------------------
/_includes/schema/array.html:
--------------------------------------------------------------------------------
1 | [
2 | {%- include schema/properties.html properties=include.properties -%}
3 | ]
--------------------------------------------------------------------------------
/_includes/schema/object.html:
--------------------------------------------------------------------------------
1 | {
2 | {%- include schema/properties.html properties=include.properties -%}
3 | }
--------------------------------------------------------------------------------
/assets/img/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/favicon-16x16.png
--------------------------------------------------------------------------------
/assets/img/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/favicon-32x32.png
--------------------------------------------------------------------------------
/assets/img/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/apple-touch-icon.png
--------------------------------------------------------------------------------
/assets/img/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/mstile-150x150.png
--------------------------------------------------------------------------------
/assets/img/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/android-chrome-192x192.png
--------------------------------------------------------------------------------
/assets/img/android-chrome-384x384.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/android-chrome-384x384.png
--------------------------------------------------------------------------------
/assets/img/android-chrome-512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robertlove/jekyll-openapi/HEAD/assets/img/android-chrome-512x512.png
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_media.scss:
--------------------------------------------------------------------------------
1 | .media {
2 | display: flex;
3 | align-items: flex-start;
4 | }
5 |
6 | .media-body {
7 | flex: 1;
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_clearfix.scss:
--------------------------------------------------------------------------------
1 | @mixin clearfix() {
2 | &::after {
3 | display: block;
4 | clear: both;
5 | content: "";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_overflow.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | @each $value in $overflows {
4 | .overflow-#{$value} { overflow: $value !important; }
5 | }
6 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_interactions.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | @each $value in $user-selects {
4 | .user-select-#{$value} { user-select: $value !important; }
5 | }
6 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_size.scss:
--------------------------------------------------------------------------------
1 | // Sizing shortcuts
2 |
3 | @mixin size($width, $height: $width) {
4 | width: $width;
5 | height: $height;
6 | @include deprecate("`size()`", "v4.3.0", "v5");
7 | }
8 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_screenreaders.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Screenreaders
3 | //
4 |
5 | .sr-only {
6 | @include sr-only();
7 | }
8 |
9 | .sr-only-focusable {
10 | @include sr-only-focusable();
11 | }
12 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_lists.scss:
--------------------------------------------------------------------------------
1 | // Lists
2 |
3 | // Unstyled keeps list items block level, just removes default browser padding and list-style
4 | @mixin list-unstyled() {
5 | padding-left: 0;
6 | list-style: none;
7 | }
8 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_text-truncate.scss:
--------------------------------------------------------------------------------
1 | // Text truncate
2 | // Requires inline-block or block for proper styling
3 |
4 | @mixin text-truncate() {
5 | overflow: hidden;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_resize.scss:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | @mixin resizable($direction) {
4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
5 | resize: $direction; // Options: horizontal, vertical, both
6 | }
7 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_visibility.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Visibility
4 |
5 | @mixin invisible($visibility) {
6 | visibility: $visibility !important;
7 | @include deprecate("`invisible()`", "v4.3.0", "v5");
8 | }
9 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_visibility.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | //
4 | // Visibility utilities
5 | //
6 |
7 | .visible {
8 | visibility: visible !important;
9 | }
10 |
11 | .invisible {
12 | visibility: hidden !important;
13 | }
14 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 |
3 | root = true
4 |
5 | [*]
6 | charset = utf-8
7 | end_of_line = lf
8 | indent_size = 2
9 | indent_style = space
10 | insert_final_newline = true
11 | trim_trailing_whitespace = true
12 |
13 | [*.md]
14 | trim_trailing_whitespace = false
15 |
--------------------------------------------------------------------------------
/_includes/utils/idify.html:
--------------------------------------------------------------------------------
1 | {%- assign id = include.text | slugify -%}
2 | {%- assign parts = id | split: '' -%}
3 | {%- assign numbers = '0123456789' | split: '' -%}
4 | {%- if numbers contains parts.first -%}
5 | {%- assign id = id | prepend: '_' -%}
6 | {% endif %}
7 | {{- id | xml_escape -}}
8 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_shadows.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | .shadow-sm { box-shadow: $box-shadow-sm !important; }
4 | .shadow { box-shadow: $box-shadow !important; }
5 | .shadow-lg { box-shadow: $box-shadow-lg !important; }
6 | .shadow-none { box-shadow: none !important; }
7 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_alert.scss:
--------------------------------------------------------------------------------
1 | @mixin alert-variant($background, $border, $color) {
2 | color: $color;
3 | @include gradient-bg($background);
4 | border-color: $border;
5 |
6 | hr {
7 | border-top-color: darken($border, 5%);
8 | }
9 |
10 | .alert-link {
11 | color: darken($color, 10%);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/_includes/schema/reference.html:
--------------------------------------------------------------------------------
1 | {%- assign parts = include.reference.first[1] | split: '/' -%}
2 | {%- for component_schema in api.components.schemas -%}
3 | {%- if component_schema[0] == parts.last -%}
4 | {%- assign reference_schema = component_schema[1] -%}
5 | {%- include schema.html schema=reference_schema -%}
6 | {%- endif -%}
7 | {%- endfor -%}
--------------------------------------------------------------------------------
/browserconfig.xml:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | ---
4 |
5 |
6 |
2 | {%- for content in include.request_body.content -%}
3 | Content-Type: {{ content[0] }}
4 | {%- assign schema = content[1].schema -%}
5 | {%- assign slice = content[0] | slice: -4, 4 | downcase -%}
6 |
7 | {%- if slice == 'json' -%}
8 | {%- include schema.html schema=schema -%}
9 | {%- else -%}
10 | {{- schema -}}
11 | {%- endif -%}
12 |
13 | {%- endfor -%}
14 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_text-emphasis.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Typography
4 |
5 | @mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
6 | #{$parent} {
7 | color: $color !important;
8 | }
9 | @if $emphasized-link-hover-darken-percentage != 0 {
10 | a#{$parent} {
11 | @include hover-focus() {
12 | color: darken($color, $emphasized-link-hover-darken-percentage) !important;
13 | }
14 | }
15 | }
16 | @include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
17 | }
18 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_reset-text.scss:
--------------------------------------------------------------------------------
1 | @mixin reset-text() {
2 | font-family: $font-family-base;
3 | // We deliberately do NOT reset font-size or word-wrap.
4 | font-style: normal;
5 | font-weight: $font-weight-normal;
6 | line-height: $line-height-base;
7 | text-align: left; // Fallback for where `start` is not supported
8 | text-align: start;
9 | text-decoration: none;
10 | text-shadow: none;
11 | text-transform: none;
12 | letter-spacing: normal;
13 | word-break: normal;
14 | word-spacing: normal;
15 | white-space: normal;
16 | line-break: auto;
17 | }
18 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_pagination.scss:
--------------------------------------------------------------------------------
1 | // Pagination
2 |
3 | @mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
4 | .page-link {
5 | padding: $padding-y $padding-x;
6 | @include font-size($font-size);
7 | line-height: $line-height;
8 | }
9 |
10 | .page-item {
11 | &:first-child {
12 | .page-link {
13 | @include border-left-radius($border-radius);
14 | }
15 | }
16 | &:last-child {
17 | .page-link {
18 | @include border-right-radius($border-radius);
19 | }
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/_includes/utils/request_method.html:
--------------------------------------------------------------------------------
1 | {%- assign request_method = include.request_method | upcase -%}
2 | {%- case request_method -%}
3 | {%- when 'DELETE' -%}
4 | {%- assign color = 'danger' -%}
5 | {%- when 'GET' -%}
6 | {%- assign color = 'success' -%}
7 | {%- when 'PATCH' -%}
8 | {%- assign color = 'dark' -%}
9 | {%- when 'POST' -%}
10 | {%- assign color = 'warning' -%}
11 | {%- when 'PUT' -%}
12 | {%- assign color = 'primary' -%}
13 | {%- else -%}
14 | {%- assign color = 'secondary' -%}
15 | {%- endcase -%}
16 | {{- request_method -}}
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_sizing.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Width and height
4 |
5 | @each $prop, $abbrev in (width: w, height: h) {
6 | @each $size, $length in $sizes {
7 | .#{$abbrev}-#{$size} { #{$prop}: $length !important; }
8 | }
9 | }
10 |
11 | .mw-100 { max-width: 100% !important; }
12 | .mh-100 { max-height: 100% !important; }
13 |
14 | // Viewport additional helpers
15 |
16 | .min-vw-100 { min-width: 100vw !important; }
17 | .min-vh-100 { min-height: 100vh !important; }
18 |
19 | .vw-100 { width: 100vw !important; }
20 | .vh-100 { height: 100vh !important; }
21 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_utilities.scss:
--------------------------------------------------------------------------------
1 | @import "utilities/align";
2 | @import "utilities/background";
3 | @import "utilities/borders";
4 | @import "utilities/clearfix";
5 | @import "utilities/display";
6 | @import "utilities/embed";
7 | @import "utilities/flex";
8 | @import "utilities/float";
9 | @import "utilities/interactions";
10 | @import "utilities/overflow";
11 | @import "utilities/position";
12 | @import "utilities/screenreaders";
13 | @import "utilities/shadows";
14 | @import "utilities/sizing";
15 | @import "utilities/spacing";
16 | @import "utilities/stretched-link";
17 | @import "utilities/text";
18 | @import "utilities/visibility";
19 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_box-shadow.scss:
--------------------------------------------------------------------------------
1 | @mixin box-shadow($shadow...) {
2 | @if $enable-shadows {
3 | $result: ();
4 |
5 | @if (length($shadow) == 1) {
6 | // We can pass `@include box-shadow(none);`
7 | $result: $shadow;
8 | } @else {
9 | // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;`
10 | @for $i from 1 through length($shadow) {
11 | @if nth($shadow, $i) != "none" {
12 | $result: append($result, nth($shadow, $i), "comma");
13 | }
14 | }
15 | }
16 | @if (length($result) > 0) {
17 | box-shadow: $result;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_position.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Common values
4 | @each $position in $positions {
5 | .position-#{$position} { position: $position !important; }
6 | }
7 |
8 | // Shorthand
9 |
10 | .fixed-top {
11 | position: fixed;
12 | top: 0;
13 | right: 0;
14 | left: 0;
15 | z-index: $zindex-fixed;
16 | }
17 |
18 | .fixed-bottom {
19 | position: fixed;
20 | right: 0;
21 | bottom: 0;
22 | left: 0;
23 | z-index: $zindex-fixed;
24 | }
25 |
26 | .sticky-top {
27 | @supports (position: sticky) {
28 | position: sticky;
29 | top: 0;
30 | z-index: $zindex-sticky;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_display.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | //
4 | // Utilities for common `display` values
5 | //
6 |
7 | @each $breakpoint in map-keys($grid-breakpoints) {
8 | @include media-breakpoint-up($breakpoint) {
9 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
10 |
11 | @each $value in $displays {
12 | .d#{$infix}-#{$value} { display: $value !important; }
13 | }
14 | }
15 | }
16 |
17 |
18 | //
19 | // Utilities for toggling `display` in print
20 | //
21 |
22 | @media print {
23 | @each $value in $displays {
24 | .d-print-#{$value} { display: $value !important; }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_deprecate.scss:
--------------------------------------------------------------------------------
1 | // Deprecate mixin
2 | //
3 | // This mixin can be used to deprecate mixins or functions.
4 | // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to
5 | // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap)
6 | @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) {
7 | @if ($enable-deprecation-messages != false and $ignore-warning != true) {
8 | @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}.";
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/_includes/schema.html:
--------------------------------------------------------------------------------
1 | {%- if include.schema.type -%}
2 | {%- case include.schema.type -%}
3 | {%- when 'array' -%}
4 | {%- if include.schema.items.first[0] == '$ref' -%}
5 | [
6 | {%- include schema/reference.html reference=include.schema.items -%}
7 | ]
8 | {%- else -%}
9 | {%- include schema/array.html properties=include.schema.properties -%}
10 | {%- endif -%}
11 | {%- when 'object' -%}
12 | {%- include schema/object.html properties=include.schema.properties -%}
13 | {%- endcase -%}
14 | {%- endif -%}
15 | {%- if include.schema.first[0] == '$ref' -%}
16 | {%- include schema/reference.html reference=include.schema -%}
17 | {%- endif -%}
18 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/bootstrap-grid.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Grid v4.5.3 (https://getbootstrap.com/)
3 | * Copyright 2011-2020 The Bootstrap Authors
4 | * Copyright 2011-2020 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | */
7 |
8 | html {
9 | box-sizing: border-box;
10 | -ms-overflow-style: scrollbar;
11 | }
12 |
13 | *,
14 | *::before,
15 | *::after {
16 | box-sizing: inherit;
17 | }
18 |
19 | @import "functions";
20 | @import "variables";
21 |
22 | @import "mixins/breakpoints";
23 | @import "mixins/grid-framework";
24 | @import "mixins/grid";
25 |
26 | @import "grid";
27 | @import "utilities/display";
28 | @import "utilities/flex";
29 | @import "utilities/spacing";
30 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_root.scss:
--------------------------------------------------------------------------------
1 | // Do not forget to update getting-started/theming.md!
2 | :root {
3 | // Custom variable values only support SassScript inside `#{}`.
4 | @each $color, $value in $colors {
5 | --#{$color}: #{$value};
6 | }
7 |
8 | @each $color, $value in $theme-colors {
9 | --#{$color}: #{$value};
10 | }
11 |
12 | @each $bp, $value in $grid-breakpoints {
13 | --breakpoint-#{$bp}: #{$value};
14 | }
15 |
16 | // Use `inspect` for lists so that quoted items keep the quotes.
17 | // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
18 | --font-family-sans-serif: #{inspect($font-family-sans-serif)};
19 | --font-family-monospace: #{inspect($font-family-monospace)};
20 | }
21 |
--------------------------------------------------------------------------------
/404.html:
--------------------------------------------------------------------------------
1 | ---
2 | title: Page not found
3 | ---
4 |
5 | 404 {% include utils/response_status_code.html response_status_code='404' %}Content-Type: text/html14 |
{{ response_status_code | capitalize }} {% include utils/response_status_code.html response_status_code=response_status_code %}
3 | {%- for content in include.response[1].content -%}
4 | Content-Type: {{ content[0] }}
5 | {%- assign schema = content[1].schema -%}
6 | {%- assign slice = content[0] | slice: -4, 4 | downcase -%}
7 |
8 | {%- if slice == 'json' -%}
9 | {%- include schema.html schema=schema -%}
10 | {%- else -%}
11 | {{- schema -}}
12 | {%- endif -%}
13 |
14 | {%- endfor -%}
15 |
--------------------------------------------------------------------------------
/_includes/utils/variables.html:
--------------------------------------------------------------------------------
1 | {%- assign api = site.data.openapi -%}
2 |
3 | {%- capture title -%}
4 | {%- if page.title -%}
5 | {{- page.title | append: ' - ' -}}
6 | {%- endif -%}
7 | {{- api.info.title -}}
8 | {%- endcapture -%}
9 |
10 | {%- assign description = api.info.description | xml_escape -%}
11 |
12 | {%- assign url = page.url | prepend: site.baseurl | prepend: site.url -%}
13 |
14 | {%- assign image = '/assets/img/image.png' | prepend: site.baseurl | prepend: site.url -%}
15 |
16 | {%- assign collections = '' -%}
17 | {%- for path in api.paths -%}
18 | {%- assign path_parts = path[0] | split: '/' -%}
19 | {%- assign collections = collections | append: path_parts[1] | append: ',' -%}
20 | {%- endfor -%}
21 | {%- assign collections = collections | split: ',' | uniq -%}
22 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_transition.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable property-disallowed-list
2 | @mixin transition($transition...) {
3 | @if length($transition) == 0 {
4 | $transition: $transition-base;
5 | }
6 |
7 | @if length($transition) > 1 {
8 | @each $value in $transition {
9 | @if $value == null or $value == none {
10 | @warn "The keyword 'none' or 'null' must be used as a single argument.";
11 | }
12 | }
13 | }
14 |
15 | @if $enable-transitions {
16 | @if nth($transition, 1) != null {
17 | transition: $transition;
18 | }
19 |
20 | @if $enable-prefers-reduced-motion-media-query and nth($transition, 1) != null and nth($transition, 1) != none {
21 | @media (prefers-reduced-motion: reduce) {
22 | transition: none;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/assets/js/script.js:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | ---
4 |
5 | {% include_relative jquery.min.js %}
6 | {% include_relative popper.min.js %}
7 | {% include_relative bootstrap.min.js %}
8 | {% include_relative prism.min.js %}
9 |
10 | window.Prism = window.Prism || {};
11 | window.Prism.manual = true;
12 |
13 | function isJSON(string) {
14 | try {
15 | JSON.parse(string);
16 | } catch (e) {
17 | return false;
18 | }
19 | return true;
20 | }
21 |
22 | $(function() {
23 |
24 | $(".language-json").each(function() {
25 | var string = $(this).html();
26 | if (isJSON(string)) {
27 | var json = JSON.parse(string);
28 | var code = JSON.stringify(json, null, ' ');
29 | var html = Prism.highlight(code, Prism.languages.json, 'json');
30 | $(this).html(html);
31 | }
32 | });
33 |
34 | });
35 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_background-variant.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Contextual backgrounds
4 |
5 | @mixin bg-variant($parent, $color, $ignore-warning: false) {
6 | #{$parent} {
7 | background-color: $color !important;
8 | }
9 | a#{$parent},
10 | button#{$parent} {
11 | @include hover-focus() {
12 | background-color: darken($color, 10%) !important;
13 | }
14 | }
15 | @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
16 | }
17 |
18 | @mixin bg-gradient-variant($parent, $color, $ignore-warning: false) {
19 | #{$parent} {
20 | background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
21 | }
22 | @include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
23 | }
24 |
--------------------------------------------------------------------------------
/site.webmanifest:
--------------------------------------------------------------------------------
1 | ---
2 | layout: null
3 | ---
4 |
5 | {%- include utils/variables.html -%}
6 |
7 | {
8 | "name": "{{- api.info.title -}}",
9 | "short_name": "{{- api.info.title -}}",
10 | "icons": [
11 | {
12 | "src": "{{- '/assets/img/android-chrome-192x192.png' | prepend: site.baseurl -}}",
13 | "sizes": "192x192",
14 | "type": "{{- site.og.image.type -}}"
15 | },
16 | {
17 | "src": "{{- '/assets/img/android-chrome-384x384.png' | prepend: site.baseurl -}}",
18 | "sizes": "384x384",
19 | "type": "{{- site.og.image.type -}}"
20 | },
21 | {
22 | "src": "{{- '/assets/img/android-chrome-512x512.png' | prepend: site.baseurl -}}",
23 | "sizes": "512x512",
24 | "type": "{{- site.og.image.type -}}"
25 | }
26 | ],
27 | "theme_color": "{{- site.theme_color -}}",
28 | "background_color": "{{- site.theme_color -}}",
29 | "display": "standalone"
30 | }
31 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_hover.scss:
--------------------------------------------------------------------------------
1 | // Hover mixin and `$enable-hover-media-query` are deprecated.
2 | //
3 | // Originally added during our alphas and maintained during betas, this mixin was
4 | // designed to prevent `:hover` stickiness on iOS-an issue where hover styles
5 | // would persist after initial touch.
6 | //
7 | // For backward compatibility, we've kept these mixins and updated them to
8 | // always return their regular pseudo-classes instead of a shimmed media query.
9 | //
10 | // Issue: https://github.com/twbs/bootstrap/issues/25195
11 |
12 | @mixin hover() {
13 | &:hover { @content; }
14 | }
15 |
16 | @mixin hover-focus() {
17 | &:hover,
18 | &:focus {
19 | @content;
20 | }
21 | }
22 |
23 | @mixin plain-hover-focus() {
24 | &,
25 | &:hover,
26 | &:focus {
27 | @content;
28 | }
29 | }
30 |
31 | @mixin hover-focus-active() {
32 | &:hover,
33 | &:focus,
34 | &:active {
35 | @content;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | # Site settings
2 | baseurl: "/jekyll-openapi" # the subpath of your site, e.g. /blog
3 | url: "https://robertlove.github.io" # the base hostname & protocol for your site, e.g. http://example.com
4 | theme_color: "#343a40" # The theme color of your site
5 |
6 | # Open Graph settings
7 | og:
8 | type: "website"
9 | image:
10 | type: "image/png"
11 | width: 1200
12 | height: 630
13 |
14 | # Twitter settings
15 | twitter:
16 | card: "summary_large_image"
17 | site: "" # @username
18 |
19 | # Build settings
20 | markdown: kramdown
21 |
22 | # SASS
23 | sass:
24 | style: :compressed
25 |
26 | # Defaults
27 | defaults:
28 | - scope:
29 | path: "*"
30 | values:
31 | layout: default
32 |
33 | # Exclude
34 | exclude:
35 | - assets/js/bootstrap.min.js
36 | - assets/js/jquery.min.js
37 | - assets/js/popper.min.js
38 | - assets/js/prism.min.js
39 | - Gemfile
40 | - Gemfile.lock
41 | - LICENSE
42 | - README.md
43 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_table-row.scss:
--------------------------------------------------------------------------------
1 | // Tables
2 |
3 | @mixin table-row-variant($state, $background, $border: null) {
4 | // Exact selectors below required to override `.table-striped` and prevent
5 | // inheritance to nested tables.
6 | .table-#{$state} {
7 | &,
8 | > th,
9 | > td {
10 | background-color: $background;
11 | }
12 |
13 | @if $border != null {
14 | th,
15 | td,
16 | thead th,
17 | tbody + tbody {
18 | border-color: $border;
19 | }
20 | }
21 | }
22 |
23 | // Hover states for `.table-hover`
24 | // Note: this is not available for cells or rows within `thead` or `tfoot`.
25 | .table-hover {
26 | $hover-background: darken($background, 5%);
27 |
28 | .table-#{$state} {
29 | @include hover() {
30 | background-color: $hover-background;
31 |
32 | > td,
33 | > th {
34 | background-color: $hover-background;
35 | }
36 | }
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/mixins/_screen-reader.scss:
--------------------------------------------------------------------------------
1 | // Only display content to screen readers
2 | //
3 | // See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
4 | // See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
5 |
6 | @mixin sr-only() {
7 | position: absolute;
8 | width: 1px;
9 | height: 1px;
10 | padding: 0;
11 | margin: -1px; // Fix for https://github.com/twbs/bootstrap/issues/25686
12 | overflow: hidden;
13 | clip: rect(0, 0, 0, 0);
14 | white-space: nowrap;
15 | border: 0;
16 | }
17 |
18 | // Use in conjunction with .sr-only to only display content when it's focused.
19 | //
20 | // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
21 | //
22 | // Credit: HTML5 Boilerplate
23 |
24 | @mixin sr-only-focusable() {
25 | &:active,
26 | &:focus {
27 | position: static;
28 | width: auto;
29 | height: auto;
30 | overflow: visible;
31 | clip: auto;
32 | white-space: normal;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/utilities/_embed.scss:
--------------------------------------------------------------------------------
1 | // Credit: Nicolas Gallagher and SUIT CSS.
2 |
3 | .embed-responsive {
4 | position: relative;
5 | display: block;
6 | width: 100%;
7 | padding: 0;
8 | overflow: hidden;
9 |
10 | &::before {
11 | display: block;
12 | content: "";
13 | }
14 |
15 | .embed-responsive-item,
16 | iframe,
17 | embed,
18 | object,
19 | video {
20 | position: absolute;
21 | top: 0;
22 | bottom: 0;
23 | left: 0;
24 | width: 100%;
25 | height: 100%;
26 | border: 0;
27 | }
28 | }
29 |
30 | @each $embed-responsive-aspect-ratio in $embed-responsive-aspect-ratios {
31 | $embed-responsive-aspect-ratio-x: nth($embed-responsive-aspect-ratio, 1);
32 | $embed-responsive-aspect-ratio-y: nth($embed-responsive-aspect-ratio, 2);
33 |
34 | .embed-responsive-#{$embed-responsive-aspect-ratio-x}by#{$embed-responsive-aspect-ratio-y} {
35 | &::before {
36 | padding-top: percentage($embed-responsive-aspect-ratio-y / $embed-responsive-aspect-ratio-x);
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/assets/css/style.scss:
--------------------------------------------------------------------------------
1 | ---
2 | ---
3 |
4 | @import "variables";
5 | @import "bootstrap/scss/bootstrap";
6 |
7 | $navbar-height: $navbar-brand-height + ($navbar-brand-padding-y * 2) + ($navbar-padding-y * 2) !default;
8 | $offset-top: $navbar-height + map-get($spacers, 4) !default;
9 |
10 | nav {
11 | padding-top: $offset-top;
12 | padding-bottom: map-get($spacers, 4);
13 | }
14 |
15 | nav .nav-link span {
16 | min-width: 3rem;
17 | }
18 |
19 | .bg-black {
20 | background-color: $gray-900 !important;
21 | }
22 |
23 | .max-vh-50 {
24 | max-height: 50vh !important
25 | }
26 |
27 | .navbar {
28 | z-index: 9999;
29 | }
30 |
31 | .offset-top {
32 | margin-top: -($offset-top);
33 | padding-top: $offset-top;
34 | }
35 |
36 | .response .token.operator,
37 | .response .token.punctuation {
38 | color: $light;
39 | }
40 |
41 | .response .token.boolean,
42 | .response .token.keyword,
43 | .response .token.null,
44 | .response .token.number {
45 | color: $warning;
46 | }
47 |
48 | .response .token.property {
49 | color: $danger;
50 | }
51 |
52 | .response .token.string {
53 | color: $success;
54 | }
55 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_close.scss:
--------------------------------------------------------------------------------
1 | .close {
2 | float: right;
3 | @include font-size($close-font-size);
4 | font-weight: $close-font-weight;
5 | line-height: 1;
6 | color: $close-color;
7 | text-shadow: $close-text-shadow;
8 | opacity: .5;
9 |
10 | // Override 's hover style
11 | @include hover() {
12 | color: $close-color;
13 | text-decoration: none;
14 | }
15 |
16 | &:not(:disabled):not(.disabled) {
17 | @include hover-focus() {
18 | opacity: .75;
19 | }
20 | }
21 | }
22 |
23 | // Additional properties for button version
24 | // iOS requires the button element instead of an anchor tag.
25 | // If you want the anchor version, it requires `href="#"`.
26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27 |
28 | // stylelint-disable-next-line selector-no-qualifying-type
29 | button.close {
30 | padding: 0;
31 | background-color: transparent;
32 | border: 0;
33 | }
34 |
35 | // Future-proof disabling of clicks on `` elements
36 |
37 | // stylelint-disable-next-line selector-no-qualifying-type
38 | a.close.disabled {
39 | pointer-events: none;
40 | }
41 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/bootstrap.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v4.5.3 (https://getbootstrap.com/)
3 | * Copyright 2011-2020 The Bootstrap Authors
4 | * Copyright 2011-2020 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6 | */
7 |
8 | @import "functions";
9 | @import "variables";
10 | @import "mixins";
11 | @import "root";
12 | @import "reboot";
13 | @import "type";
14 | @import "images";
15 | @import "code";
16 | @import "grid";
17 | @import "tables";
18 | @import "forms";
19 | @import "buttons";
20 | @import "transitions";
21 | @import "dropdown";
22 | @import "button-group";
23 | @import "input-group";
24 | @import "custom-forms";
25 | @import "nav";
26 | @import "navbar";
27 | @import "card";
28 | @import "breadcrumb";
29 | @import "pagination";
30 | @import "badge";
31 | @import "jumbotron";
32 | @import "alert";
33 | @import "progress";
34 | @import "media";
35 | @import "list-group";
36 | @import "close";
37 | @import "toasts";
38 | @import "modal";
39 | @import "tooltip";
40 | @import "popover";
41 | @import "carousel";
42 | @import "spinners";
43 | @import "utilities";
44 | @import "print";
45 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_code.scss:
--------------------------------------------------------------------------------
1 | // Inline code
2 | code {
3 | @include font-size($code-font-size);
4 | color: $code-color;
5 | word-wrap: break-word;
6 |
7 | // Streamline the style when inside anchors to avoid broken underline and more
8 | a > & {
9 | color: inherit;
10 | }
11 | }
12 |
13 | // User input typically entered via keyboard
14 | kbd {
15 | padding: $kbd-padding-y $kbd-padding-x;
16 | @include font-size($kbd-font-size);
17 | color: $kbd-color;
18 | background-color: $kbd-bg;
19 | @include border-radius($border-radius-sm);
20 | @include box-shadow($kbd-box-shadow);
21 |
22 | kbd {
23 | padding: 0;
24 | @include font-size(100%);
25 | font-weight: $nested-kbd-font-weight;
26 | @include box-shadow(none);
27 | }
28 | }
29 |
30 | // Blocks of code
31 | pre {
32 | display: block;
33 | @include font-size($code-font-size);
34 | color: $pre-color;
35 |
36 | // Account for some code outputs that place code tags in pre tags
37 | code {
38 | @include font-size(inherit);
39 | color: inherit;
40 | word-break: normal;
41 | }
42 | }
43 |
44 | // Enable scrollable blocks of code
45 | .pre-scrollable {
46 | max-height: $pre-scrollable-max-height;
47 | overflow-y: scroll;
48 | }
49 |
--------------------------------------------------------------------------------
/_sass/bootstrap/scss/_mixins.scss:
--------------------------------------------------------------------------------
1 | // Toggles
2 | //
3 | // Used in conjunction with global variables to enable certain theme features.
4 |
5 | // Vendor
6 | @import "vendor/rfs";
7 |
8 | // Deprecate
9 | @import "mixins/deprecate";
10 |
11 | // Utilities
12 | @import "mixins/breakpoints";
13 | @import "mixins/hover";
14 | @import "mixins/image";
15 | @import "mixins/badge";
16 | @import "mixins/resize";
17 | @import "mixins/screen-reader";
18 | @import "mixins/size";
19 | @import "mixins/reset-text";
20 | @import "mixins/text-emphasis";
21 | @import "mixins/text-hide";
22 | @import "mixins/text-truncate";
23 | @import "mixins/visibility";
24 |
25 | // Components
26 | @import "mixins/alert";
27 | @import "mixins/buttons";
28 | @import "mixins/caret";
29 | @import "mixins/pagination";
30 | @import "mixins/lists";
31 | @import "mixins/list-group";
32 | @import "mixins/nav-divider";
33 | @import "mixins/forms";
34 | @import "mixins/table-row";
35 |
36 | // Skins
37 | @import "mixins/background-variant";
38 | @import "mixins/border-radius";
39 | @import "mixins/box-shadow";
40 | @import "mixins/gradients";
41 | @import "mixins/transition";
42 |
43 | // Layout
44 | @import "mixins/clearfix";
45 | @import "mixins/grid-framework";
46 | @import "mixins/grid";
47 | @import "mixins/float";
48 |
--------------------------------------------------------------------------------
/_includes/parameters.html:
--------------------------------------------------------------------------------
1 | {%- assign has_parameters = false -%}
2 |
3 | {%- for parameter in include.parameters -%}
4 | {%- if parameter.in == include.in -%}
5 | {%- assign has_parameters = true -%}
6 | {%- endif -%}
7 | {%- endfor -%}
8 |
9 | {%- if has_parameters -%}
10 | | {{- parameter.name -}} | 18 |19 | {%- if parameter.required -%} 20 | required 21 | {%- else -%} 22 | optional 23 | {%- endif -%} 24 | | 25 |
| {{- parameter.description | markdownify -}} | 28 ||