Closed dubnemo closed 11 months ago
@elena-jelisic Here's a tip. You can check the current behavior at https://github.com/OAGi/Score/blob/4292fde81e01942089d4e59184945b931f450b65/score-http/score-http/src/main/java/org/oagi/score/gateway/http/api/bie_management/service/generate_expression/BieOpenAPIGenerateExpression.java#L217-L219 and https://github.com/OAGi/Score/blob/4292fde81e01942089d4e59184945b931f450b65/score-http/score-http/src/main/java/org/oagi/score/gateway/http/api/oas_management/service/generate_openapi_expression/OpenAPIGenerateExpression.java#L216-L218
Each schema would be added to schemas after all properties are filled out. Here's a code in BieOpenAPIGenerateExpression.java https://github.com/OAGi/Score/blob/4292fde81e01942089d4e59184945b931f450b65/score-http/score-http/src/main/java/org/oagi/score/gateway/http/api/bie_management/service/generate_expression/BieOpenAPIGenerateExpression.java#L384-L386
@elena-jelisic this looks very good. However x-oagis-license can be eliminated in lieu of the existing OAS capabilities. @hakjuoh @jim-wilson-kt Can you please provide the URL and License Name? Perhaps this can be defaulted in the future.
@dubnemo Scott, I have removed the 'x-oagis-license' property.
Currently these properties are at the document level:
I suggest these be moved to the schema level with the BIE references, and furthermore add the x-oagis-bie-uri