Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status endpoint and fixes #49

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

avoylenko
Copy link
Collaborator

  • Status endpoint to get the current status of the session added, under the hood it uses validateSession() method
  • Fix swagger-autogen configuration not to include the swagger UI endpoint to the specification

@chrishubert
Copy link
Owner

@avoylenko Thanks again!
Would you mind putting the swagger documentation for the new endpoint as in-line comment within the statusSession function, and run the npm run swagger command - it will be easier to generate the doc down the line.
More details here:
#45

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@avoylenko
Copy link
Collaborator Author

@chrishubert the swagger documentation for status endpoint added. I might also help you with documenting other endpoints as soon as i have free time to do it.

@chrishubert
Copy link
Owner

Awesome! Merging it now

Copy link
Owner

@chrishubert chrishubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

@chrishubert chrishubert merged commit 27754f8 into chrishubert:master Jul 6, 2023
djambanbram pushed a commit to djambanbram/whatsapp-web-api that referenced this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants