Code Monkey home page Code Monkey logo

Comments (8)

senften avatar senften commented on June 12, 2024 4

After installing Aliencube.AzureFunctions.Extensions.Configuration.AppSettings 1.1.0 AppSettings is not resolved.

from azurefunctions.extensions.

Matthewsre avatar Matthewsre commented on June 12, 2024 4

@hf-kklein, Tried adding that and still not resolving as reported by @senften .

Since AppSettings doesn't appear to be included in the latest NuGet packages I just added the following to my project to move past this issue:

    public class AppSettings : OpenApiAppSettingsBase
    {
        public AppSettings() : base() {}
    }

Everything is working correctly with this work around, but not sure why this class isn't included.

Verified manual reference as suggested should not be needed:

image

image

from azurefunctions.extensions.

hf-kklein avatar hf-kklein commented on June 12, 2024

Is there another nuget package to include?

Aliencube.AzureFunctions.Extensions.Configuration.AppSettings.

@Matthewsre would you like to create a pull for openapi.md request for this issue

from azurefunctions.extensions.

androidand avatar androidand commented on June 12, 2024

I stumbled over the same issue trying to add openAPI to my v2 function.

from azurefunctions.extensions.

shelbaz avatar shelbaz commented on June 12, 2024

@Matthewsre Thanks !

from azurefunctions.extensions.

santhosh-caw avatar santhosh-caw commented on June 12, 2024

I too have the same issue, If any one solved this please write to me.

from azurefunctions.extensions.

justinyoo avatar justinyoo commented on June 12, 2024

Oops my bad. AppSettings class stated in the openapi.md SHOULD inherit OpenApiAppSettingsBase. I'll update the doc.

from azurefunctions.extensions.

justinyoo avatar justinyoo commented on June 12, 2024

From 1.7.0, there is no dependency on AppSettings. Please following the revised document, https://github.com/aliencube/AzureFunctions.Extensions/blob/dev/docs/openapi.md

from azurefunctions.extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.