Skip to content

Package for isolated workers use in-process nuget packages #681

@KondzioSSJ4

Description

@KondzioSSJ4

Describe the issue

When I tried to add OpenAPI for isolated workers (Microsoft.Azure.Functions.Worker.Extensions.OpenApi version 1.5.1)
that package had reference to Microsoft.Azure.WebJobs.Extensions.OpenApi.Core
and this one have references to:

Microsoft.Azure.WebJobs.Extensions.Http
Microsoft.Azure.WebJobs.Extensions.OpenApi.Configuration.AppSettings

They are packages to in-process workers, and should not be used for isolated workers.
The issue also provide miss used attributes, that should be use from isolated workers, but it's taken a in-process

To Reproduce
Just add Microsoft.Azure.Functions.Worker.Extensions.OpenApi into your project

Expected behavior
OpenAPI should not use references from different type of the applications
so isolated workers should only used isolated packages (Microsoft.Azure.Functions.Worker.*)
and in-process workers should only use in-process packages (Microsoft.Azure.WebJobs.*)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions