Azure / Azure/azure-functions-openapi-extension

Question: Is there a reason why the OpenApi attributes have Inherited = false

Open
#315 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

I was wondering why this flag is set to false. I would like to define a common function template in a base class and have functions derive from it, but to share some common api attributes such as ```[OpenApiParameter("api-version", In = ParameterLocation.Query)]```

Contributor guide

Open the contributing guide

Research direction

Start by locating the OpenApi attribute declarations and inspecting why their Inherited setting is false. Determine whether inherited attributes should be supported for base-class function templates, and define done as either documenting the rationale or adding verified support for the requested shared attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.