-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update OpenAPI specs for routes and correct docs for campaign en…
…dpoints (#2179) * Fix API Docs for campaign routes' params 1. Added no_body for some. These existed in OpenApi spec but was not present in the docs 2. GET /api/campaigns/analytics/{type} fixed params description for "from" and "to" * OpenApi Specs GET routes and File Type Fix This commit fixes some routes' openapi specs by following lismonk.app/docs/ 1. GET Routes can't have a body. All params spesified in the body is moved up to query params 2. On the route /import/subscribers POST fixed content type to Multipart, added example params and fixed file type to string/binary 3. And added required: false to many
- Loading branch information
1 parent
882c49f
commit fce46b2
Showing
2 changed files
with
169 additions
and
80 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
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