[x] You've included unit or integration tests for your change, where applicable.
[x] You've included inline docs for your change, where applicable.
[x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
Description
This PR adds support for OData collection parameters via the API Explorer for OData functions. The value format is unique to OData functions in the URL. OData actions can have collection parameters in the body as normal JSON arrays. The support only includes primitives, which includes enumerations. OData allows Complex Types, but that is not currently supported.
The issue of formatted or escaped string values cannot be solved. This is a limitation in OpenAPI. A user must input string values as 'text' or "text" unless the author provides some other extension to the Swagger UI to handle quoting of user input.
Fixes #999
Improves performance of simple concatenation using Span rather than string.Format
Support OData Collection Parameters
Description
This PR adds support for OData collection parameters via the API Explorer for OData functions. The value format is unique to OData functions in the URL. OData actions can have collection parameters in the body as normal JSON arrays. The support only includes primitives, which includes enumerations. OData allows Complex Types, but that is not currently supported.
The issue of formatted or escaped string values cannot be solved. This is a limitation in OpenAPI. A user must input
string
values as'text'
or"text"
unless the author provides some other extension to the Swagger UI to handle quoting of user input.Span
rather thanstring.Format