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
mesh-client/src/api/OutboxApi.js function sendMessageMessageexchangeMailboxIdOutboxPost (etc) sets postBody to null, with no parameter to set it to anything else
Description
Generated method for POST API has no argument for passing in POST data
Swagger-codegen version
3.0.46
Swagger declaration file content or url
https://digital.nhs.uk/restapi/oas/357490
The usage is document in non-Swagger JSON here : https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#post-/messageexchange/-mailbox_id-/outbox
Command line used for generation
java -jar swagger-codegen-cli-*.jar generate -i 3* -l javascript -o mesh-client -DuseES6=true -DusePromises=true
Steps to reproduce
mesh-client/src/api/OutboxApi.js function sendMessageMessageexchangeMailboxIdOutboxPost (etc) sets postBody to null, with no parameter to set it to anything else
sendMessageMessageexchangeMailboxIdOutboxPost(mailboxId, authorization, mexTo, mexWorkflowid, opts) {
Related issues/PRs
None
Suggest a fix/enhancement
As this is a POST method, there needs to be a parameter for the body
The text was updated successfully, but these errors were encountered: