-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): use strapi documentation plugin to generate api your docu…
…mentation(swagger ui); 使用strapi document plugin 自动生成API 文档(由swagger ui 驱动)
- Loading branch information
Showing
10 changed files
with
8,512 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
569 changes: 569 additions & 0 deletions
569
back-end/h5-api/api/workform/documentation/1.0.0/workform.json
Large diffs are not rendered by default.
Oops, something went wrong.
3,972 changes: 3,972 additions & 0 deletions
3,972
back-end/h5-api/extensions/documentation/documentation/1.0.0/full_documentation.json
Large diffs are not rendered by default.
Oops, something went wrong.
473 changes: 473 additions & 0 deletions
473
back-end/h5-api/extensions/documentation/public/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
80 changes: 80 additions & 0 deletions
80
back-end/h5-api/extensions/email/documentation/1.0.0/email-Email.json
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,80 @@ | ||
{ | ||
"paths": { | ||
"/email/": { | ||
"post": { | ||
"deprecated": false, | ||
"description": "Send an email", | ||
"responses": { | ||
"200": { | ||
"description": "response", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"properties": { | ||
"foo": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"403": { | ||
"description": "Forbidden", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Error" | ||
} | ||
} | ||
} | ||
}, | ||
"404": { | ||
"description": "Not found", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Error" | ||
} | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "unexpected error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/Error" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "", | ||
"tags": [ | ||
"Email - Email" | ||
], | ||
"requestBody": { | ||
"description": "", | ||
"required": true, | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"properties": { | ||
"foo": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"tags": [ | ||
{ | ||
"name": "Email - Email" | ||
} | ||
] | ||
} |
Oops, something went wrong.