Skip to content

Commit

Permalink
feat: Automated regeneration of WebFonts client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 14, 2024
1 parent ec72cbe commit c40447d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/web_fonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_web_fonts, "~> 0.4"}]
[{:google_api_web_fonts, "~> 0.5"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/web_fonts/lib/google_api/web_fonts/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.WebFonts.V1 do
API client metadata for GoogleApi.WebFonts.V1.
"""

@discovery_revision "20240306"
@discovery_revision "20240508"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ defmodule GoogleApi.WebFonts.V1.Model.Webfont do
* `axes` (*type:* `list(GoogleApi.WebFonts.V1.Model.Axis.t)`, *default:* `nil`) - Axis for variable fonts.
* `category` (*type:* `String.t`, *default:* `nil`) - The category of the font.
* `colorCapabilities` (*type:* `list(String.t)`, *default:* `nil`) - The color format(s) available for this family.
* `family` (*type:* `String.t`, *default:* `nil`) - The name of the font.
* `files` (*type:* `map()`, *default:* `nil`) - The font files (with all supported scripts) for each one of the available variants, as a key : value map.
* `kind` (*type:* `String.t`, *default:* `nil`) - This kind represents a webfont object in the webfonts service.
Expand All @@ -38,6 +39,7 @@ defmodule GoogleApi.WebFonts.V1.Model.Webfont do
@type t :: %__MODULE__{
:axes => list(GoogleApi.WebFonts.V1.Model.Axis.t()) | nil,
:category => String.t() | nil,
:colorCapabilities => list(String.t()) | nil,
:family => String.t() | nil,
:files => map() | nil,
:kind => String.t() | nil,
Expand All @@ -50,6 +52,7 @@ defmodule GoogleApi.WebFonts.V1.Model.Webfont do

field(:axes, as: GoogleApi.WebFonts.V1.Model.Axis, type: :list)
field(:category)
field(:colorCapabilities, type: :list)
field(:family)
field(:files, type: :map)
field(:kind)
Expand Down
2 changes: 1 addition & 1 deletion clients/web_fonts/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.WebFonts.Mixfile do
use Mix.Project

@version "0.4.0"
@version "0.5.0"

def project() do
[
Expand Down

0 comments on commit c40447d

Please sign in to comment.