Skip to content

Commit

Permalink
Fix build and release new versions (#190)
Browse files Browse the repository at this point in the history
* Fix build and reuse correct types

* release new versions
  • Loading branch information
sbruhns authored Apr 11, 2022
1 parent 98b27d7 commit 28cd56b
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 25 deletions.
2 changes: 1 addition & 1 deletion openapi-generator/go_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
generatorName: go
outputDir: clients/go
packageName: phrase
packageVersion: 2.4.0
packageVersion: 2.5.0
gitUserId: phrase
gitRepoId: phrase-go
httpUserAgent: Phrase go
2 changes: 1 addition & 1 deletion openapi-generator/java_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ outputDir: clients/java
apiPackage: com.phrase.client.api
artifactId: phrase-java
artifactUrl: https://developers.phrase.com
artifactVersion: 1.3.0
artifactVersion: 1.4.0
developerEmail: [email protected]
developerName: Phrase
developerOrganization: Phrase.com
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/php_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
generatorName: php
outputDir: clients/php
invokerPackage: Phrase
artifactVersion: 1.3.0
artifactVersion: 1.4.0
gitUserId: phrase
gitRepoId: phrase-php
packageName: phrase-php
2 changes: 1 addition & 1 deletion openapi-generator/python_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ generatorName: python
outputDir: clients/python
packageName: phrase_api
projectName: phrase-api
packageVersion: 1.3.0
packageVersion: 1.4.0
packageUrl: "https://github.com/phrase/phrase-python"
gitUserId: phrase
gitRepoId: phrase-python
2 changes: 1 addition & 1 deletion openapi-generator/ruby_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ generatorName: ruby
outputDir: clients/ruby
moduleName: Phrase
gemName: phrase
gemVersion: 2.6.0
gemVersion: 2.7.0
gemDescription: 'Phrase is a translation management platform for software projects.'
gemSummary: 'You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase for your account.'
gemRequiredRubyVersion: '>= 2.6.0'
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/typescript_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
generatorName: typescript-fetch
outputDir: clients/typescript
npmName: "phrase-js"
npmVersion: 1.3.0
npmVersion: 1.4.0
typescriptThreePlus: true
2 changes: 2 additions & 0 deletions schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ schemas:
"$ref": schemas/team.yaml#/team
team_detail:
"$ref": schemas/team_detail.yaml#/team_detail
team_short:
"$ref": schemas/team_short.yaml#/team_short
job:
"$ref": schemas/job.yaml#/job
job_details:
Expand Down
23 changes: 5 additions & 18 deletions schemas/invitation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ invitation:
type: array
items:
"$ref": "./locale_preview.yaml#/locale_preview"
teams:
type: array
items:
"$ref": "./team_short.yaml#/team_short"
default_locale_codes:
type: array
items:
Expand All @@ -41,24 +45,7 @@ invitation:
spaces:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
projects_count:
type: integer
teams:
type: array
items:
"$ref": "./team_short.yaml#/team_short"
"$ref": "./space_short.yaml#/space_short"
project_role:
type: array
items:
Expand Down
2 changes: 1 addition & 1 deletion schemas/team_short.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
team_short:
type: object
title: team
title: team_short
properties:
id:
type: string
Expand Down

0 comments on commit 28cd56b

Please sign in to comment.