Redocly / museum-openapi-example

An example OpenAPI description for an imaginary Museum API.
https://redocly.com/docs/resources/learning-openapi/
MIT License
36 stars 36 forks source link

Add delete ticket endpoint #19

Open JessamyT opened 5 months ago

JessamyT commented 5 months ago

What/Why/How?

If a customer needs to cancel their ticket for a refund, this API endpoint can be used to look up the ticket by ID and delete it.

Also makes TicketID description less overly-specific so it works for different endpoints.

Reference

Testing

Screenshots (optional)

Check yourself

Security

JessamyT commented 5 months ago

Oops--just added the parameter @lornajane