Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve examples #3

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Improve examples #3

merged 2 commits into from
Nov 25, 2024

Conversation

jellejurre
Copy link
Contributor

No description provided.

README.md Outdated
Comment on lines 56 to 63
AuthenticationApi authApi = new AuthenticationApi(defaultClient);

// Step 2. We begin with creating a Configuration
// This contains the username and password for authentication.
// This contains the username and password for authentication, as well as a user agent.
HttpBasicAuth authHeader = (HttpBasicAuth) defaultClient.getAuthentication("authHeader");
authHeader.setUsername("username");
authHeader.setPassword("password");
authHeader.setUsername("username");
authHeader.setPassword("password");
defaultClient.setUserAgent("ExampleProgram/0.0.1 my@email.com");
Copy link
Member

Choose a reason for hiding this comment

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

This example is inconsistently formatted.

@jellejurre jellejurre merged commit 96b24f4 into main Nov 25, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants