From b78164d538276addbb694a82b53474a9acdf85e7 Mon Sep 17 00:00:00 2001 From: Andrew Dewar Date: Mon, 9 Dec 2024 13:04:20 -0700 Subject: [PATCH] Fix typo.. --- api/docs.go | 10 +++++----- api/openapi.json | 10 +++++----- pkg/api/module_streams.go | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/docs.go b/api/docs.go index 16ec0556f..257328289 100644 --- a/api/docs.go +++ b/api/docs.go @@ -2297,7 +2297,7 @@ const docTemplate = `{ "application/json" ], "tags": [ - "snapshots" + "module_streams" ], "summary": "List modules and their streams for snapshots", "operationId": "searchSnapshotModuleStreams", @@ -4934,10 +4934,6 @@ const docTemplate = `{ "description": "The Architecture of the rpm", "type": "string" }, - "cersion": { - "description": "The version of the rpm", - "type": "string" - }, "context": { "description": "Context of the module", "type": "string" @@ -4963,6 +4959,10 @@ const docTemplate = `{ "stream": { "description": "Module stream version", "type": "string" + }, + "version": { + "description": "The version of the rpm", + "type": "string" } } }, diff --git a/api/openapi.json b/api/openapi.json index 3576be91c..aa65b6676 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -1356,10 +1356,6 @@ "description": "The Architecture of the rpm", "type": "string" }, - "cersion": { - "description": "The version of the rpm", - "type": "string" - }, "context": { "description": "Context of the module", "type": "string" @@ -1385,6 +1381,10 @@ "stream": { "description": "Module stream version", "type": "string" + }, + "version": { + "description": "The version of the rpm", + "type": "string" } }, "type": "object" @@ -4838,7 +4838,7 @@ }, "summary": "List modules and their streams for snapshots", "tags": [ - "snapshots" + "module_streams" ] } }, diff --git a/pkg/api/module_streams.go b/pkg/api/module_streams.go index 5e11d0185..0abf00554 100644 --- a/pkg/api/module_streams.go +++ b/pkg/api/module_streams.go @@ -12,7 +12,7 @@ type Stream struct { Stream string `json:"stream"` // Module stream version Context string `json:"context"` // Context of the module Arch string `json:"arch"` // The Architecture of the rpm - Version string `json:"cersion"` // The version of the rpm + Version string `json:"version"` // The version of the rpm Description string `json:"description"` // Module description Profiles map[string][]string `json:"profiles"` // Module profile data }