Hi Lynn
Adding a mandatory attribute will seemingly cause the CTK POST to fail, since the CTK is not be aware of your extension and it won't provide your mandatory attribute on the POST input.
I believe that there is a way to get round this, since vendors like yourselves, Ericsson, Amdocs, and others would like to add specific extensions to meet their business capabilities.
Maybe
@Victor Mari or
@Henrique Rodrigues can explain how to "tweak" the CTK to allow this.
On the other hand, it could be argued that by allowing mandatory extensions we end up defeating one of the purposes of the API initiative, which is to supply interoperability.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jun 15, 2022 16:31
From: Lynn Dueck
Subject: Basic Conformance Question
Hi,
How does the conformance work with respect to the openAPI schema?
If I use the polymorphic extension pattern to introduce a new entity on a 622 ProductOrder for instance, can I make that a mandatory parameter or will that automatically invalidate my conformance because a canonical 622 product order would be rejected by my application?
Lynn
------------------------------
Lynn Dueck
Oracle Corporation
------------------------------