Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

## Documentation
- Fixed some issues in the API description
- Fix security issue in GitHub pages with path insertion
[#1457](https://github.com/nextcloud/cookbook/pull/1457) @christianlupus


## 0.10.1 - 2022-11-09
Expand Down
1 change: 1 addition & 0 deletions docs/.bundle/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
BUNDLE_BUNDLE_PATH: "vendor/bundle"
BUNDLE_PATH: "vendor/bundle"
2 changes: 2 additions & 0 deletions docs/Makefile.local.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Example of local configuration
# BUNDLER = bundler-2.7
60 changes: 0 additions & 60 deletions docs/dev/api/0.0.2/index.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/dev/api/0.0.2/index.html
20 changes: 20 additions & 0 deletions docs/dev/api/0.0.2/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "openapi-cookbook.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});

//</editor-fold>
};
60 changes: 0 additions & 60 deletions docs/dev/api/0.0.3/index.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/dev/api/0.0.3/index.html
20 changes: 20 additions & 0 deletions docs/dev/api/0.0.3/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "openapi-cookbook.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});

//</editor-fold>
};
60 changes: 0 additions & 60 deletions docs/dev/api/0.0.4/index.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/dev/api/0.0.4/index.html
20 changes: 20 additions & 0 deletions docs/dev/api/0.0.4/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "openapi-cookbook.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});

//</editor-fold>
};
60 changes: 0 additions & 60 deletions docs/dev/api/0.1.0/index.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/dev/api/0.1.0/index.html
47 changes: 3 additions & 44 deletions docs/dev/api/0.1.0/internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,17 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Internal API of cookbook app</title>
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="../swagger/swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="../swagger/index.css" />
<link rel="icon" type="image/png" href="../swagger/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="../swagger/favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
</head>

<body>
<div id="swagger-ui"></div>

<script src="../swagger/swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="../swagger/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "internal-cookbook.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
});
// End Swagger UI call region

window.ui = ui;
};
</script>
<script src="./swagger-initializer-internal.js" charset="UTF-8"> </script>
</body>
</html>
Loading