JsonApiDotNetCore icon indicating copy to clipboard operation
JsonApiDotNetCore copied to clipboard

OpenAPI: Support [DisableQueryString]

Open bkoelman opened this issue 1 year ago • 0 comments

Generation of query string parameters should take [DisableQueryString] into account. See also the remark at #1378:

If a controller is decorated with [DisableQueryString(JsonApiQueryStringParameters.All)], we could hide the query string from OpenAPI. I didn't implement that, because the information is hard to obtain and it's a corner case. And when users decide to add their own query string parameters, it would incorrectly hide the possibility of providing them.

Originally posted by @bkoelman in https://github.com/json-api-dotnet/JsonApiDotNetCore/issues/1058#issuecomment-1783595477

bkoelman avatar Feb 13 '24 23:02 bkoelman