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
Swagger provides information based on updating the path with the entity value. Example value is just entity without any idea of what is needed for getting a successful response. Postman collection failed regardless of what was in there so suggestion would be to put in an enumerated value of entity types that'll go within the path or put a few examples of what is acceptable in the description.
Currently gives 400 no matter what.
To Reproduce
Steps to reproduce the behavior:
Download bmore project
Run it locally via docker
Run POST {{baseUrl}}/contact/send/email/{{newContactId}} locally with a payload from swagger example
See that it populates with a 400.
Expected behavior
User should be created based off swagger information or update the swagger to show what it should be instead. Postman had incorrect information based off what swagger had to provide. Once the swagger is updated, can make adjustments to postman as well.
Environment
A concise description of your environment: Catalina 10.15.7. Docker version 20.10.0, build 7287ab3. NPM = 7.0.10. Ran from master branch on 12/31/2020 @ 3:00PM EST.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
carorm
changed the title
Swagger needs updating for POST ~{{baseUrl}}/contact/send/{{entity}}/{{newContactId}} - gives 400
Swagger needs updating for POST ~contact/send/{{entity}}/{{newContactId}} - gives 400
Dec 31, 2020
Describe the bug
Swagger provides information based on updating the path with the entity value. Example value is just entity without any idea of what is needed for getting a successful response. Postman collection failed regardless of what was in there so suggestion would be to put in an enumerated value of entity types that'll go within the path or put a few examples of what is acceptable in the description.
Currently gives 400 no matter what.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User should be created based off swagger information or update the swagger to show what it should be instead. Postman had incorrect information based off what swagger had to provide. Once the swagger is updated, can make adjustments to postman as well.
Environment
A concise description of your environment: Catalina 10.15.7. Docker version 20.10.0, build 7287ab3. NPM = 7.0.10. Ran from master branch on 12/31/2020 @ 3:00PM EST.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: