mirror of
https://gitee.com/shikong-sk/gofiber-study
synced 2025-02-24 07:42:15 +08:00
jwt 测试
This commit is contained in:
parent
ac37297e83
commit
9571709c33
@ -20,7 +20,7 @@ func RegisterController(app *fiber.App) {
|
|||||||
// @Tags Test
|
// @Tags Test
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Param userClaims body global.UserClaims true "userClaims"
|
// @Param vo body global.UserClaims true "userClaims"
|
||||||
// @Success 200 {object} response.Response{data=string}
|
// @Success 200 {object} response.Response{data=string}
|
||||||
// @Failure default {object} errorx.CodeErrorResponse
|
// @Failure default {object} errorx.CodeErrorResponse
|
||||||
// @Router /test/jwt [post]
|
// @Router /test/jwt [post]
|
||||||
|
@ -443,7 +443,7 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"description": "userClaims",
|
"description": "userClaims",
|
||||||
"name": "userClaims",
|
"name": "vo",
|
||||||
"in": "body",
|
"in": "body",
|
||||||
"required": true,
|
"required": true,
|
||||||
"schema": {
|
"schema": {
|
||||||
|
@ -435,7 +435,7 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"description": "userClaims",
|
"description": "userClaims",
|
||||||
"name": "userClaims",
|
"name": "vo",
|
||||||
"in": "body",
|
"in": "body",
|
||||||
"required": true,
|
"required": true,
|
||||||
"schema": {
|
"schema": {
|
||||||
|
@ -339,7 +339,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- description: userClaims
|
- description: userClaims
|
||||||
in: body
|
in: body
|
||||||
name: userClaims
|
name: vo
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/global.UserClaims'
|
$ref: '#/definitions/global.UserClaims'
|
||||||
|
Loading…
Reference in New Issue
Block a user