Skip to content

Commit

Permalink
Reword openAPI specification for affected packages
Browse files Browse the repository at this point in the history
This patch rewords the openAPI specification for the affected packages.
I changed the words, to clarify the difference between a package
version and a release.
  • Loading branch information
janvhs committed Jul 11, 2024
1 parent 061d3a5 commit 87345e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ defmodule TrentoWeb.OpenApi.V1.Schema.AvailableSoftwareUpdates do
additionalProperties: false,
items: %Schema{
title: "AffectedPackage",
description: "Metadata for a package effected from an advisory",
description: "Metadata for a package effected by an advisory",
type: :object,
properties: %{
name: %Schema{
Expand All @@ -219,11 +219,11 @@ defmodule TrentoWeb.OpenApi.V1.Schema.AvailableSoftwareUpdates do
},
version: %Schema{
type: :string,
description: "Package version"
description: "Package upstream version"
},
release: %Schema{
type: :string,
description: "Package release number"
description: "Package RPM release number"
},
epoch: %Schema{
type: :string,
Expand Down

0 comments on commit 87345e4

Please sign in to comment.