Forum Discussion
nexttech
6 years agoNew Contributor
Swagger('https://my-api/auth/login')
.then((client) => {
client
.apis
.Auth
.loginUser({
requestBody: {
username: 'test',
password: 'test123'
}
})
})Passing the props within requestBody does the job I wanted.
But I am still wondering if this is the perfect way to call an OpenAPI?