-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace OCS API sections with OpenAPI documentation
Signed-off-by: jld3103 <[email protected]>
- Loading branch information
1 parent
72400a5
commit 0d32040
Showing
16 changed files
with
57 additions
and
975 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,3 @@ | ||
[submodule "build/openapi-extractor"] | ||
path = build/openapi-extractor | ||
url = https://github.com/nextcloud/openapi-extractor |
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,16 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
./openapi-extractor/merge-specs \ | ||
--core server/core/openapi.json \ | ||
--merged ../developer_manual/_static/openapi.json \ | ||
server/apps/cloud_federation_api/openapi.json \ | ||
server/apps/dashboard/openapi.json \ | ||
server/apps/dav/openapi.json \ | ||
server/apps/files_sharing/openapi.json \ | ||
server/apps/oauth2/openapi.json \ | ||
server/apps/provisioning_api/openapi.json \ | ||
server/apps/settings/openapi.json \ | ||
server/apps/theming/openapi.json \ | ||
server/apps/user_status/openapi.json \ | ||
server/apps/weather_status/openapi.json |
Submodule openapi-extractor
added at
13d22c
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,10 @@ | ||
<html> | ||
<head> | ||
<title>OCS API</title> | ||
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css"> | ||
</head> | ||
<body> | ||
<elements-api apiDescriptionUrl="openapi.json" router="hash" hideTryIt="true" logo="logo-blue.png"></elements-api> | ||
</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
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
developer_manual/client_apis/OCS/ocs-recommendations-api.rst
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.