Manage users
Create, retrieve, update, and delete Petstore users.
Use the user operations to manage one user or create a list of users. These operations declare no operation-level security scheme in the published contract.
Use Create a user for one User object or Create users for an array of user objects.
Call Get a user with the username. The contract suggests user1 as a test value.
Call Update a user with the current username in the path and a User request body.
Call Delete a user with the username when you no longer need the sample record.
The separate Log in operation sends a username and password as query parameters and returns a string. Avoid placing real credentials in a URL because URLs can be retained in client or intermediary logs.
Next, review the User data model.