Redocly / museum-openapi-example

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

Add Membership operations to the Museum example #17

Open ricklarsen opened 7 months ago

ricklarsen commented 7 months ago

Museums often offer annual memberships to guest with special perks. This could be implemented into the spec.

Some methods could include:

Add member Update member Change membership upgrade membership downgrade membership cancel membership Find member Apply member discount

add membership level update membership level

ricklarsen commented 7 months ago

first attempt: https://github.com/Redocly/museum-openapi-example/pull/20