Closed MV-GH closed 1 year ago
Fixes #5
This PR focuses on adding summaries to the API routes in the lemmy_spec.yaml file.
lemmy_spec.yaml
add_summaries.ts
lemmy-js-client
api_routes.yaml
tsutils@^3.21.0
yaml@^2.3.2
package.json
scripts
add_summaries
yarn.lock
tslib
tsutils
src/add_summaries.ts
The following files were skipped due to too many changes: lemmy_spec.yaml, partials/api_routes.yaml ✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
The following files were skipped due to too many changes: lemmy_spec.yaml, partials/api_routes.yaml
partials/api_routes.yaml
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
/codex {your question}
Fixes #5
PR-Codex overview
This PR focuses on adding summaries to the API routes in the
lemmy_spec.yaml
file.Detailed summary
add_summaries.ts
to read summaries from thelemmy-js-client
source files and write them to theapi_routes.yaml
spec.lemmy_spec.yaml
file to include summaries for various API routes.tsutils@^3.21.0
andyaml@^2.3.2
inpackage.json
.scripts
section inpackage.json
to include the new scriptadd_summaries
.yarn.lock
file with new versions oftslib
andtsutils
.src/add_summaries.ts
to parse comments and extract summaries from the source file.