Comments (7)
I'll jump in on this one. I don't think the goal is to get an OpenAPI document with only the right endpoints. I think the goal is to reuse a similar logic to the one built for plugins instead of having 2 different logic that do very similar things, without being reused. I agree with @baywet, we should absolutely not replace the OpenAPI we cache with a sliced version of it or we'll lose the possibility to expand its capabilities.
from kiota.
Is this for the kiota folder? We should always keep the original description in case the user wants to change their selection IMHO
from kiota.
@baywet This is still unclear. This issue was created to split out #4672 to only work for plugins generation as the questions on functionality in client generation is cleared up.
from kiota.
@maisarissi to provide additional input
from kiota.
That's was exactly my intention, not replacing the copy of the OpenAPI document, but since client generation does "go through" a similar logic as the slicing logic we have for plugins, why not reuse it for client generation, having the slicing logic and then generating the client based on that? Instead of generating all models and then deleting the ones that are not referenced?
from kiota.
where would you place this new sliced description? for plugins it makes sense since it's required by the "engine". For clients we could place it next to the Client class. Thoughts?
from kiota.
In the output folder as an openapi.yaml
file would be optimal. That way it live with the code.
from kiota.
Related Issues (20)
- Kiota doesn't replace the copy of the OpenAPI when using a different version of the same API
- String arrays under OneOf do not produce the expected generated result HOT 6
- Kiota VSCode extension generate plugin command palette step back is not working
- description_for_human in ai-plugin.json file generated by Kiota contains speciall characters \u0026apos; HOT 1
- Kiota plugin should not generate function for API with request body contains nested object HOT 1
- Kiota should not generate plugin when selected APIs contain unsupported authorization scheme HOT 1
- When generate API plugin, kiota should make sure that server url inside OpenAPI spec file using https protocol HOT 1
- The plugin manifest should be created in a temp folder. HOT 2
- Kiota fails when creating a plugin for https://api.github.com/ GET operation HOT 5
- 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
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.