Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
According to PR comments
  • Loading branch information
gagandeepb committed Jul 25, 2024
1 parent 25ab7c1 commit a3603f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/trento_web/openapi/v1/schema/activity_log.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ defmodule TrentoWeb.OpenApi.V1.Schema.ActivityLog do
require OpenApiSpex
alias OpenApiSpex.Schema

defmodule ActivityLogEntry do
defmodule ActivityLogEntries do
@moduledoc false
OpenApiSpex.schema(%{
type: :array,
items: %Schema{
title: "ActivityLogEntry",
title: "ActivityLogEntries",
type: :object,
additionalProperties: false,
properties: %{
id: %Schema{
type: :string,
format: :uuid,
description: "UUID (v4) of Activity Log entry."
},
type: %Schema{
Expand Down Expand Up @@ -47,7 +48,7 @@ defmodule TrentoWeb.OpenApi.V1.Schema.ActivityLog do
description: "Activity Log for the current installation.",
type: :object,
properties: %{
data: ActivityLogEntry,
data: ActivityLogEntries,
pagination: %Schema{
type: :object
}
Expand Down

0 comments on commit a3603f5

Please sign in to comment.