Comments (5)
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.
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.
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.
Thank you @baywet, I will definitely take a look at this 👍
from kiota.
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)
- When generating the plugin manifest, Kiota should default to OpenAPI path descriptions when creating function descriptions
- Add conversation starters as part of the plugin manifest
- Kiota should warn the user when re-generating that all changes did manually by them will be overridden
- Ruby generation segmentation fault from Azure DevOps Services Git swagger file HOT 6
- Error models with a property called message no longer generate correctly HOT 2
- Documentation for Handler middleware (all languages) HOT 7
- Update info command to show bundle dependencies HOT 3
- missing UntypedNode import in Java, in various places HOT 4
- Kiota plugin edit does not update plugin if file extension has not changed HOT 5
- add github branch policy definition
- Schema name conflict causing getter and setter ( {schemaName}_{propertyName}able ) interfaces to not be generated HOT 2
- Stack overflow Segmentation failure error with v1.18 when class presents references to itself HOT 3
- TypeScript - anyOf/oneOf arrays do not emit the correct serialization and deserialization information HOT 7
- PHP - anyOf/oneOf primitive type array serialization wrong
- VS Code extension supports Declarative Copilot
- VS Code extension should leave the preview status! HOT 2
- Version 1.18.0 causes Stack overflow HOT 1
- OpenAPI descriptions needs to be < 3.1.0 HOT 3
- Circular references in open API spec are not supported HOT 2
- Query Parameters are not set when calling a GetAll endpoint HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiota.