Skip to content

OpenAPI attributes are not getting picked up if they are in a referenced class library project #298

@PanosKousidis

Description

@PanosKousidis

I have a dotnet-isolated (.NET5) azure function that references another project (class library .NET5) that has a function defined in it. The function is getting deployed fine, but the swagger page does not show it, even though it has the necessary attributes from the Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes namespace.

Using v0.9.0

Sample Repo to demonstrate the issue : https://github.com/PanosKousidis/AzureFunctions.OpenAPI.Issue298

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions