Skip to content

Commit

Permalink
Merge pull request #49 from planet-a-ventures/joscha/openapi-update-2…
Browse files Browse the repository at this point in the history
…024-09

chore: update OpenAPI spec to `3.1`
  • Loading branch information
joscha authored Oct 8, 2024
2 parents 374e498 + 6fe02bf commit 0bc968b
Show file tree
Hide file tree
Showing 89 changed files with 3,344 additions and 2,855 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
run: deno task format
- name: Check types
run: deno task check
- name: Regenerate V2
uses: nickcharlton/diff-check@main
with:
command: deno task generate-v2-client
- name: V2 Smoke Test
run: deno task test:single src/v2/tests/smoke_test.ts
- name: Test
run: deno task test:coverage
- name: Archive code coverage results
Expand Down
4 changes: 2 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"format": "deno fmt && nixpkgs-fmt *.nix && yamllint . && yamlfmt .",
"lint": "deno lint",
"docs": "deno run --allow-read --allow-env --allow-run --allow-write=./docs/ npm:[email protected]",
"generate-v2-client": "rm -rf src/v2/generated && deno run --allow-read --allow-run --allow-env --allow-write=openapitools.json,node_modules,/tmp,/var --allow-net='search.maven.org,repo1.maven.org,oss.sonatype.org:443' npm:@openapitools/openapi-generator-cli@2.13.12 generate",
"generate-v2-client": "rm -rf src/v2/generated && deno run --allow-read --allow-run --allow-env --allow-write=openapitools.json,node_modules,/tmp,/var --allow-net='search.maven.org,repo1.maven.org,oss.sonatype.org:443' npm:@openapitools/openapi-generator-cli@2.14.0 generate",
"update-deno-lock": "deno cache --lock-write src/index.ts",
"update-flake-lock": "nix --option commit-lockfile-summary 'chore: update flake.lock' flake update --commit-lock-file",
"update": "deno run --allow-env --allow-read --allow-write='~/.local,.' --allow-run=git,deno --allow-net=jsr.io jsr:@molt/cli",
"update": "deno run --allow-env --allow-read --allow-write='~/.local,.' --allow-run=git,deno --allow-net='api.jsr.io,jsr.io,registry.npmjs.org' jsr:@molt/cli",
"update:commit": "deno task -q update --commit"
},
"lint": {
Expand Down
447 changes: 373 additions & 74 deletions deno.lock

Large diffs are not rendered by default.

5,036 changes: 2,663 additions & 2,373 deletions openapi/2024-09-05.json → openapi/2024-10-08.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.9.0-20240929.161806-74",
"version": "7.9.0-20241007.123707-126",
"repository": {
"downloadUrl": "https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.9.0-SNAPSHOT/openapi-generator-cli-${versionName}.jar"
},
Expand Down
13 changes: 5 additions & 8 deletions src/v2/generated/.openapi-generator/FILES

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Attendee.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/AuthenticationError.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/AuthenticationErrors.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/AuthorizationError.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/AuthorizationErrors.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ChatMessage.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/CompaniesValue.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/Company.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/CompanyData.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/CompanyListEntry.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/CompanyPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/CompanyValue.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/ConflictError.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/DateValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Dropdown.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/DropdownValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/DropdownsValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Email.ts

Large diffs are not rendered by default.

39 changes: 0 additions & 39 deletions src/v2/generated/models/Errors.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Field.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FieldMetadata.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FieldMetadataPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FieldValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FloatValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FloatsValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FormulaNumber.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/FormulaValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Grant.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Interaction.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/InteractionValue.ts

Large diffs are not rendered by default.

49 changes: 0 additions & 49 deletions src/v2/generated/models/InvalidVersionHeaderError.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/v2/generated/models/List.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListEntry.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListEntryPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListEntryWithEntity.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListEntryWithEntityPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListWithType.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/ListWithTypePaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Location.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/LocationValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/LocationsValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Meeting.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/MethodNotAllowedError.ts

Large diffs are not rendered by default.

72 changes: 0 additions & 72 deletions src/v2/generated/models/ModelError.ts

This file was deleted.

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/NotFoundError.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/NotFoundErrors.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

68 changes: 36 additions & 32 deletions src/v2/generated/models/ObjectSerializer.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Opportunity.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/OpportunityListEntry.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/OpportunityPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/OpportunityWithFields.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Pagination.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Person.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PersonData.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PersonListEntry.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PersonPaged.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PersonValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PersonsValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/PhoneCall.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/RankedDropdown.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/RankedDropdownValue.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/RateLimitError.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/SavedView.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/SavedViewPaged.ts

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions src/v2/generated/models/ServerError.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/Tenant.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/TextValue.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/TextsValue.ts

Large diffs are not rendered by default.

49 changes: 0 additions & 49 deletions src/v2/generated/models/TooManyMultipartFilesError.ts

This file was deleted.

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions src/v2/generated/models/UnsupportedMediaTypeError.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/User.ts

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions src/v2/generated/models/ValidationError.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/v2/generated/models/ValidationErrors.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/v2/generated/models/WhoAmI.ts

Large diffs are not rendered by default.

13 changes: 5 additions & 8 deletions src/v2/generated/models/all.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0bc968b

Please sign in to comment.