mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update api v1 docs (#2117)
* chore: update apiv1 docs * chore: update
This commit is contained in:
13
scripts/gen-api-v1-docs.cfg
Normal file
13
scripts/gen-api-v1-docs.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
|
||||
|
||||
# You should list aditional dirs here if the API grows
|
||||
SWAG_API_DIRS=./api/v1
|
||||
|
||||
# Where general API info is documented
|
||||
SWAG_GENERAL_INFO=./server/server.go
|
||||
|
||||
# Possible output files: go (docs.go), json (swagger.json), yaml (swagger.yaml)
|
||||
SWAG_OUTPUT_TYPES=go,yaml
|
||||
|
||||
# Where generated files are outputted
|
||||
SWAG_OUTPUT=./api/v1
|
Reference in New Issue
Block a user