Comments (3)
Thanks for asking this question.
Kiota already supports that, but you need an extension in the OpenAPI description
microsoft.graph.chatMessageActions:
title: chatMessageActions
enum:
- reactionAdded
- reactionRemoved
- actionUndefined
- unknownFutureValue
type: string
x-ms-enum-flags:
isFlags: true
see the x-ms-enum-flags extension in this example.
If you edit the description to add the flag, do you get the desired behaviour?
from kiota.
https://github.com/microsoft/OpenAPI/blob/main/extensions/x-ms-enum-flags.md for more context
from kiota.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
from kiota.
Related Issues (20)
- 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
- Can't create a DC + Plugin with TTK + Kiota for Github API HOT 3
- Can't create a new plugin using the same OAD HOT 6
- Sever url is not correct if input a spec path in "search" when add api description HOT 6
- StackOverflowException during kiota update --clean-output -o Generated HOT 1
- [VS Code] When selecting an API, we should notify the user of the next step
- Update icons in VS Code extension HOT 1
- [Plugin generation] Message "Generation completed successfully" from kiota is confusing HOT 1
- No notification from Kiota if user search for an API and does not have result HOT 2
- Kiota should not show notification "Generation completed successfully" when generating TTK project
- [Plugin generation] Kiota should throw error when api contains OAuth with implicit flow HOT 3
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.