-
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
f4c96a4
commit 65896cb
Showing
20 changed files
with
17,027 additions
and
1,194 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "build/openapi-extractor"] | ||
path = build/openapi-extractor | ||
url = [email protected]:nextcloud-gmbh/openapi-extractor.git |
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 @@ | ||
/specs/ |
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> |
Oops, something went wrong.