Open vpetersson opened 2 days ago
Am reviewing @vpetersson - I note we have a root level security:
block, but also security
sections at operation level - I don't think both are required...
Thanks for catching! Yes, reckless refactoring from me. Thanks for finding that. Fixing.
@vpetersson Line 66 (PATCH /product/{tea_product_identifier} requestBody
could use #/schemas/compoents/base_product_fields
Another: POST /product requestBody
An example of another area we can consider schema consolidation:
GET /product parameters
could make use of allOf
if we create a Schema Object with the Pagination Parameters - as these are re-used in a few places.
#/components/schemas/type_pagination_detail
...Thoughts @vpetersson ?
Refs #79.