ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 58 forks source link

Add contact information for OpenAPI generation #6621

Closed lnash94 closed 2 months ago

lnash94 commented 2 months ago

Description: Introduced email, and description fields to the openapi ServiceInformation for capturing the contact information in the generated directory.

public type ServiceInformation record {|
    ...
    string email?;
    string description?;
|};
openapi: 3.0.1
info:
...
  description: "This service provides the capabilities to convert an amount from one currency to one to many different currencies."
  contact:
    email: "sumudu@abc.com"
lnash94 commented 2 months ago

Close with the favour of https://github.com/ballerina-platform/openapi-tools/pull/1731