Skip to content

Add optional request attribute to Template (#52) #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Marvinrose
Copy link

Added an optional request attribute to org.accordproject.protocol@1.0.0.Template in openapi.json, updated server implementation and documented in specification.md. Successfully tested with a sample request, aligning APAP with CTA files for testing template logic.

Screenshot (583)

…mplate for issue accordproject#52

Signed-off-by: Chibuezem Marvinrose <rozzeymarvin32@gmail.com>
@Marvinrose
Copy link
Author

Hi @niallroche

Kindly review please.

@dselman
Copy link
Contributor

dselman commented May 15, 2025

Changes to the model should be made to protocol.cto and then we can use codegen to create TS files (either from the Concerto model itself using Concerto Codegen or via generation of the OpenAPI and then OpenAPI codegen).

https://concerto.accordproject.org/docs/category/code-generation

@dselman dselman closed this May 15, 2025
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.

2 participants