A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Swagger supports different format modifiers for a string type, uri being one of them:
inputDataURL:
type: string
description: "URL of the data to be distributed. Currently, we only support files
in GCS. "
format: uri
example: https://storage.google.com/buckets/my-bucket/dog-lovers-campaign.csv
Swagger supports different format modifiers for a string type,
uri
being one of them:However, reslang only supports the
url
string format (https://github.com/LiveRamp/reslang/blob/master/src/genbase.ts#L920-L927).It would be nice to have reslang either support customizable string formats, or just add support for the
uri
one.