You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a user service with a few custom methods. If I try to add docs for the custom methods it overwrites the user POST method and
To Reproduce
docs: {operations: {verifySignupToken: {description: 'Verifies the users email address by form of long or short token','parameters[0]': {description: 'Long version of token, would be embedded in a link',in: 'query',name: 'longToken',example: '75e69439-99e3-4179-abed-312914a15a1f',schema: {type: 'string'}},'parameters[1]': {description: 'Short version of token, would be included in email',in: 'query',name: 'shortToken',example: 'R5SIK0',schema: {type: 'string'}}},verifyResetToken: {description: 'Verifies the users request for a password reset by form of long or short token','parameters[0]': {description: 'Long version of token, would be embedded in a link',in: 'query',name: 'longToken',example: '75e69439-99e3-4179-abed-312914a15a1f',schema: {type: 'string'}},'parameters[1]': {description: 'Short version of token, would be included in email',in: 'query',name: 'shortToken',example: 'R5SIK0',schema: {type: 'string'}},'parameters[2]': {in: 'query',name: 'newPassword',schema: {type: 'string'}}}},securities: enabledMethods}})
Here for example it get's the correct description but the incorrect params
System configuration
Tell us about the applicable parts of your setup.
"feathers-swagger": "^3.0.0-pre.0",
"@feathersjs/feathers": "^5.0.0-pre.33",,
The text was updated successfully, but these errors were encountered:
Mairu
changed the title
Bug: Custom method definitions are effecting other methods
Bug: Custom method definitions are affecting other methods
Mar 18, 2023
Mairu
changed the title
Bug: Custom method definitions are affecting other methods
Bug: Custom method definitions are effecting other methods
Mar 18, 2023
Describe the bug
I have a user service with a few custom methods. If I try to add docs for the custom methods it overwrites the user POST method and
To Reproduce
Here for example it get's the correct description but the incorrect params

System configuration
Tell us about the applicable parts of your setup.
The text was updated successfully, but these errors were encountered: