mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Update swagger endpoint documentation #5133
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
//
|
||||
// @Summary returns CORS headers with an empty response body
|
||||
// @Description A preflight request is automatically issued by a browser and in normal cases, front-end developers don't need to craft such requests themselves. It appears when request is qualified as "to be preflighted" and omitted for simple requests.
|
||||
// @Id CORS
|
||||
// @Tags API
|
||||
// @Id Options
|
||||
// @Tags CORS
|
||||
// @Success 204
|
||||
// @Router /api/v1/{any} [options]
|
||||
func Options(router *gin.RouterGroup) {
|
||||
|
||||
Reference in New Issue
Block a user