Add jsondata
name attribute mapping in the OpenAPI generation
#7014
Labels
Area/BallerinaToOpenapi
module/openapi-tools
Team/PCM
Protocol connector packages related issues
Type/Task
Description:
With the implementation of this proposal, the data-binding will be supported with the
jsondata
name attribute in HTTP. This has an impact on the generated OpenAPI specification from the service.Consider the following type definition:
This is currently mapped to the following schema:
But according to the
jsondata
annotation, the fieldid
should be considered as_id
. So the new schema definition should look like this:Describe your task(s)
jsondata
name attribute mapping in the generated schema nameThe text was updated successfully, but these errors were encountered: