Skip to content

Commit

Permalink
Fix typo..
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar authored and jlsherrill committed Dec 12, 2024
1 parent 4294e66 commit b78164d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions api/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ const docTemplate = `{
"application/json"
],
"tags": [
"snapshots"
"module_streams"
],
"summary": "List modules and their streams for snapshots",
"operationId": "searchSnapshotModuleStreams",
Expand Down Expand Up @@ -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"
Expand All @@ -4963,6 +4959,10 @@ const docTemplate = `{
"stream": {
"description": "Module stream version",
"type": "string"
},
"version": {
"description": "The version of the rpm",
"type": "string"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -1385,6 +1381,10 @@
"stream": {
"description": "Module stream version",
"type": "string"
},
"version": {
"description": "The version of the rpm",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -4838,7 +4838,7 @@
},
"summary": "List modules and their streams for snapshots",
"tags": [
"snapshots"
"module_streams"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/module_streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b78164d

Please sign in to comment.