Skip to content

added openapi spec for manage_templates#2908

Merged
jzbahrai merged 12 commits into
mainfrom
task/update-openapi-spec-for-templates
Jun 25, 2026
Merged

added openapi spec for manage_templates#2908
jzbahrai merged 12 commits into
mainfrom
task/update-openapi-spec-for-templates

Conversation

@jzbahrai

Copy link
Copy Markdown
Collaborator

Summary | Résumé

Added an openapi spec for manage_templates
GET, POST, PATCH, DELETE

Also a GET for template_categories as that is required in order to create a template.

Copilot AI review requested due to automatic review settings June 15, 2026 18:04
@jzbahrai jzbahrai requested a review from jimleroyer as a code owner June 15, 2026 18:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds OpenAPI (English + French) documentation for the v2 “manage templates” API surface, covering template CRUD-style operations plus template category lookup needed for creation.

Changes:

  • Documented new manage-template endpoints: template categories (GET), template by id (GET/PATCH/DELETE), and template creation (POST).
  • Added new component schemas for manage-template payloads and template-category error responses.
  • Added a new Manage Templates tag to group these operations.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 18 comments.

File Description
openapi/v2-notifications-api-en.yaml Adds Manage Templates paths, schemas, and tag in English OpenAPI spec
openapi/v2-notifications-api-fr.yaml Adds the same Manage Templates paths, schemas, and tag in French OpenAPI spec

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-fr.yaml Outdated
Comment thread openapi/v2-notifications-api-fr.yaml
Comment thread openapi/v2-notifications-api-fr.yaml
Comment thread openapi/v2-notifications-api-fr.yaml
Comment thread openapi/v2-notifications-api-fr.yaml

@smcmurtry smcmurtry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I left the same comment a bunch of times and I don't think I got all of the occurences - let me know if that makes sense. Otherwise the english content looks good

Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
Comment thread openapi/v2-notifications-api-en.yaml Outdated
jzbahrai and others added 11 commits June 25, 2026 11:49
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>
Co-authored-by: Steve McMurtry <smcmurtry@gmail.com>

@smcmurtry smcmurtry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I viewed this locally and it looks like it matches the new api endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants