Giter VIP home page Giter VIP logo

Comments (5)

NKnusperer avatar NKnusperer commented on September 13, 2024 1

Hello @andrueastman,
the scenario is where the ApiClient is an implementation detail abstracted by an application specific API.
Lets say we are building a karaoke application, so we need access to songs, album covers, lyrics etc.
After designing an interface for each service, we implement it for, say, Spotify, Amazon Music, and Apple MusicKit.
Now nobody cares about the ApiClient except the implementations, so it could be internal.

from kiota.

andrueastman avatar andrueastman commented on September 13, 2024

Thanks for raising this @NKnusperer

In a scenario where the generated SDK project is being referenced from another project, would you need at least the ApiClient to be public? What about the models needed to send over as payloads?

from kiota.

baywet avatar baywet commented on September 13, 2024

This is an interesting suggestion. We already have the mechanics to convey accessibility with the access modifier enum, it's simply not implemented for class/enum/interface declarations where it's currently hard coded

But adding this information to the DOM, using it to emit the right modifier, and setting the value from an optional CLI parameter should be trivial.

Is this something you'd be willing to submit a pull request for provided with guidance?

from kiota.

NKnusperer avatar NKnusperer commented on September 13, 2024

Thank you @baywet, I will definitely take a look at this 👍

from kiota.

haverjes avatar haverjes commented on September 13, 2024

I was looking for the exact same feature is there any estimate on if or when this might be available?

from kiota.

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.