-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare for std uri template 2 and date time drop #1583
Comments
If your OpenAPI specification specifies However, With the burden of transforming into the |
Thanks for joining the conservation. |
That is correct. In It's accurate for Kiota to generate a client with the For Java:
Both For * This would be necessary only if |
Thank you for the additional information. That was an oversight from our side when moving over to std uri template. Thanks for catching that! The implementation is here kiota-java/components/abstractions/src/main/java/com/microsoft/kiota/RequestInformation.java Line 459 in 855baeb
And unit tests like this one can be added to validate behaviour. kiota-java/components/abstractions/src/test/java/com/microsoft/kiota/RequestInformationTest.java Line 55 in 855baeb
Is this something you'd like to submit a pull request for provided some guidance? |
I'm happy to make a pull request if it helps speed up things. Tell me if there's anything I should know, I'll clone the repository and have a look. |
Besides needing gradle 8+ and JDK 21+ you should have everything you need. |
I've gone ahead and implemented it. Added a test for Seems that a simple |
Hello, I recognize there might be more time-related types desirable to implement support for here, for example What's the scope of support for formats? Do you have any conception of which formats will be handled here? |
related std-uritemplate/std-uritemplate#245
The following types need to the normalized to their RFC3339 representation before they are passed to std URI template when they are present are query or path parameter values
Date, OffsetDateTime their collection representations (array, List)
The text was updated successfully, but these errors were encountered: