You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
In my raml definition I have an endpoint with query parameters described as follows:
queryParameters:
financial_documents:
description: list of financial document to get information in the format ["type,series,doc,statusflag","type2,series2,doc2,statusflag2"]type: arrayitems: ATDFinancialDocumentKeyminItems: 1maxItems: 15example: | [{"type":"REC","series":"REC2017","number":"1","statusFlag":"C"}]
when converting to oas20 I get the following:
"parameters": [
{
"minItems": 1,
"maxItems": 15,
"description": "list of financial document to get information in the format [\"type,series,doc,statusflag\",\"type2,series2,doc2,statusflag2\"]",
"type": "array",
"items": {
"type": "string"
},
"in": "query",
"name": "financial_documents",
"required": true
}
]
Is this the default behaviour? I would expect the financial_documents query parameter to be converted with a reference to a definition. Something like:
"parameters": [
{
"minItems": 1,
"maxItems": 15,
"description": "list of financial document to get information in the format [\"type,series,doc,statusflag\",\"type2,series2,doc2,statusflag2\"]",
"type": "array",
"items": {
"$ref": "#/definitions/ATDFinancialDocumentKey"
},
"in": "query",
"name": "financial_documents",
"required": true
}
]
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my raml definition I have an endpoint with query parameters described as follows:
when converting to oas20 I get the following:
Is this the default behaviour? I would expect the financial_documents query parameter to be converted with a reference to a definition. Something like:
The text was updated successfully, but these errors were encountered: