Skip to content
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

Add OpenAPI spec and generated client #108

Merged
merged 11 commits into from
Jun 26, 2024

Conversation

vish-mv
Copy link
Contributor

@vish-mv vish-mv commented Jun 24, 2024

Purpose

Integrate the new Twitter (X) OpenAPI specification (Twitter API V2) by generating the client, types, and utilities for the updated API.

Changes

  • Added the new Twitter (X) OpenAPI spec (Twitter API V2) to the project.
  • Generated client code based on the new API specification.
  • Generated type definitions for the updated API endpoints.
  • Generated utility functions to support the new client and type definitions.

@vish-mv vish-mv requested a review from abeykoon as a code owner June 24, 2024 12:18
@vish-mv vish-mv changed the title Generate and Update client via OpenApi Add OpenAPI spec and generated client Jun 24, 2024
@NipunaRanasinghe
Copy link
Contributor

we also need to add a sanitations.md file including all the sanitations we did on the original spec and, the exact command we used to generate the client using the openAPI tool. (A example PR with the expected file structures can be found in https://github.com/ballerina-platform/module-ballerinax-asana/pull/2/files)

@NipunaRanasinghe
Copy link
Contributor

@vish-mv lets add the missing docs/license.txt file.

Co-authored-by: Nipuna Ransinghe  <nipunaranasinghe93@gmail.com>
vish-mv added 2 commits June 26, 2024 15:22
…d spec

Add Sanitations to the openapi.json spec for improve readability and usability of functions And generate client, util, type bal files Via new spec
docs/spec/sanitations.md Outdated Show resolved Hide resolved
docs/spec/sanitations.md Outdated Show resolved Hide resolved
@NipunaRanasinghe NipunaRanasinghe merged commit 91fc076 into ballerina-platform:main Jun 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants