azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
feature request: influence/customize yaml generation
My AzureFunction ( i.e. its attributes/annotations ) looks something like this:
[FunctionName("GetQuotes")]
[OpenApiOperation(operationId: "GetQuotes", tags: new[] { "quotes" })]
[OpenApiResponseWithBody(statusCode: HttpStatusCode.OK, contentType: "application/json", bodyType: typeof(QuotesDto), Description = "The OK response")]
In the generated yaml QuotesDto is converted to quotesDto .
responses:
'200':
description: The OK response
content:
application/json:
schema:
$ref: '#/components/schemas/quotesDto'
How can I enforce the casing of the C# classnames? I.e.
responses:
'200':
description: The OK response
content:
application/json:
schema:
$ref: '#/components/schemas/QuotesDto'