Skip to content

feat(Flows): Adds OpenAPI type generation and export for Flows service#548

Merged
jbottigliero merged 1 commit into
mainfrom
feat-flows-types
Jun 18, 2025
Merged

feat(Flows): Adds OpenAPI type generation and export for Flows service#548
jbottigliero merged 1 commit into
mainfrom
feat-flows-types

Conversation

@jbottigliero

@jbottigliero jbottigliero commented Jun 18, 2025

Copy link
Copy Markdown
Member

The src/open-api/types/flows.ts was initially generated from a modified version of the Flow service's published OpenAPI spec to address missing $ref values and more accurate types (globusonline/globus-flows#1353).

The scheduled runner will technically be broken until those changes are incorporated and published, if this is merged.

@codecov

codecov Bot commented Jun 18, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.92%. Comparing base (3ee5be3) to head (4bd59da).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #548      +/-   ##
==========================================
- Coverage   94.92%   94.92%   -0.01%     
==========================================
  Files          75       75              
  Lines        1380     1379       -1     
  Branches      228      228              
==========================================
- Hits         1310     1309       -1     
  Misses         69       69              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jakeglobus jakeglobus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good given that the spec gets updated to be valid...maybe even if it doesn't?

@jbottigliero

Copy link
Copy Markdown
Member Author

This looks good given that the spec gets updated to be valid...maybe even if it doesn't?

👍 – I expect that PR to get merged in just a few too!

@jbottigliero jbottigliero merged commit 6bdd0c4 into main Jun 18, 2025
10 checks passed
@jbottigliero jbottigliero deleted the feat-flows-types branch June 18, 2025 17:49
jbottigliero pushed a commit that referenced this pull request Sep 3, 2025
🤖 I have created a release *beep* *boop*
---


##
[6.0.0](v5.8.0...v6.0.0)
(2025-09-02)


### ⚠ BREAKING CHANGES

* **Timers:** Timer renamed to Timer*s*, Moves `timer.create` export to
`timers.timer.create` to better reflect API.
([#533](#533))
* Drops support for Node.js 18
([#520](#520))

### Features

* Allows passing `manager` as ServiceMethodOptions
([#597](#597))
([d99703d](d99703d))
* **Authorization:** adds experimental `PopupTransport` for
AuthorizationManager
([#461](#461))
([94d87fb](94d87fb))
* **Compute:** Adds `endpoint.update` and `remove` methods
([#524](#524))
([6ee61ff](6ee61ff))
* Drops support for Node.js 18
([#520](#520))
([ae67d68](ae67d68))
* **Flows:** add `runs.get` method for retrieving specific run details
([#534](#534))
([64a28a2](64a28a2))
* **Flows:** Adds OpenAPI type generation and export for Flows service
([#548](#548))
([6bdd0c4](6bdd0c4))
* **Flows:** use `OpenAPI` specs for Run method types
([#556](#556))
([4dac4d3](4dac4d3))
* **Timer:** add Timer Jobs methods
([#531](#531))
([392035b](392035b))
* **Transfer:** Adds support for roles operations.
([#537](#537))
([1fc00e0](1fc00e0))
* **Typescript:** Use internal, OpenAPI-generated, types for Compute,
GCS, Groups, and Timer.
([#447](#447))
([7c98b08](7c98b08))


### Bug Fixes

* **Flows:** Ensure OpenAPI types are included as return types to
service methods
([#564](#564))
([9e19a8e](9e19a8e))
* **Transfer:** Updates `getDomainFromEndpoint` to ensure support for
custom (sub)domains with dashes.
([#621](#621))
([c10e24d](c10e24d))
* **Typescript, Flows:** Updates OpenAPI URL and regenerates types.
([#554](#554))
([c960bad](c960bad))
* **Typescript:** Fix incorrect calls to `PaginatedResponse` and improve
the generic.
([#550](#550))
([294d9f4](294d9f4))


### Code Refactoring

* **Timers:** Timer renamed to Timer*s*, Moves `timer.create` export to
`timers.timer.create` to better reflect API.
([#533](#533))
([d8fc964](d8fc964))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants