mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
apidocs
This commit is contained in:
parent
092431e9d2
commit
e94dc060e8
6 changed files with 1859 additions and 1 deletions
9
.github/workflows/upload_artifact.yml
vendored
9
.github/workflows/upload_artifact.yml
vendored
|
@ -84,6 +84,15 @@ jobs:
|
|||
delete_if_exists: true
|
||||
fail_if_source_empty: true
|
||||
|
||||
- name: Upload Websoft9 API to Azure
|
||||
uses: bacongobbler/azure-blob-storage-upload@main
|
||||
with:
|
||||
source_dir: apphub/apidocs
|
||||
container_name: $web
|
||||
connection_string: ${{ secrets.Azure_blob }}
|
||||
extra_args: '--destination-path ./apidocs'
|
||||
overwrite: true
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: ${{ steps.update_data.outputs.release == 'true' }}
|
||||
|
|
5
apphub/apidocs/README.md
Normal file
5
apphub/apidocs/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Websoft9 API Documentation
|
||||
|
||||
## Use it
|
||||
|
||||
## Develop it
|
23
apphub/apidocs/index.html
Normal file
23
apphub/apidocs/index.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Websoft9 API Documentationc</title>
|
||||
<!-- needed for adaptive design -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!--
|
||||
Redoc doesn't change outer page styles
|
||||
-->
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<redoc spec-url='https://support.websoft9.com/apidocs/openapi.jsonopenapi.json'></redoc>
|
||||
<script src="https://support.websoft9.com/apidocs/redoc.standalone.js"> </script>
|
||||
</body>
|
||||
</html>
|
1
apphub/apidocs/openapi.jsonopenapi.json
Normal file
1
apphub/apidocs/openapi.jsonopenapi.json
Normal file
File diff suppressed because one or more lines are too long
1820
apphub/apidocs/redoc.standalone.js
Normal file
1820
apphub/apidocs/redoc.standalone.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -32,7 +32,7 @@ RUN apt update && apt install git jq iproute2 supervisor -y && \
|
|||
mkdir credentials && \
|
||||
echo "This folder stored the credentials of other services that integrated with apphub" > credentials/readme
|
||||
|
||||
RUN pip install --upgrade pip && pip install -r apphub/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r apphub/requirements.txt
|
||||
RUN pip install -e ./apphub
|
||||
|
||||
# supervisor
|
||||
|
|
Loading…
Reference in a new issue