Skip to content

Commit bcf0933

Browse files
committed
Adjusted Comments
1 parent e9973b5 commit bcf0933

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

controllers/asset_version_controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func NewAssetVersionController(
6363
// @Param projectSlug path string true "Project slug"
6464
// @Param assetSlug path string true "Asset slug"
6565
// @Param assetVersionSlug path string true "Asset version slug"
66-
// @Success 200 {object} models.AssetVersion
66+
// @Success 200 {object} dtos.AssetVersionModel
6767
// @Router /organizations/{organization}/projects/{projectSlug}/assets/{assetSlug}/refs/{assetVersionSlug} [get]
6868
func (a *AssetVersionController) Read(ctx shared.Context) error {
6969
assetVersion := shared.GetAssetVersion(ctx)
@@ -78,7 +78,7 @@ func (a *AssetVersionController) Read(ctx shared.Context) error {
7878
// @Param projectSlug path string true "Project slug"
7979
// @Param assetSlug path string true "Asset slug"
8080
// @Param body body object{name=string,tag=bool,defaultBranch=bool} true "Request body"
81-
// @Success 201 {object} models.AssetVersion
81+
// @Success 201 {object} dtos.AssetVersionModel
8282
// @Router /organizations/{organization}/projects/{projectSlug}/assets/{assetSlug}/refs [post]
8383
func (a *AssetVersionController) Create(ctx shared.Context) error {
8484
asset := shared.GetAsset(ctx)
@@ -133,7 +133,7 @@ func (a *AssetVersionController) Delete(ctx shared.Context) error {
133133
// @Param organization path string true "Organization slug"
134134
// @Param projectSlug path string true "Project slug"
135135
// @Param assetSlug path string true "Asset slug"
136-
// @Success 200 {array} models.AssetVersion
136+
// @Success 200 {array} dtos.AssetVersionModel
137137
// @Router /organizations/{organization}/projects/{projectSlug}/assets/{assetSlug}/refs [get]
138138
func (a *AssetVersionController) GetAssetVersionsByAssetID(ctx shared.Context) error {
139139
asset := shared.GetAsset(ctx)

0 commit comments

Comments
 (0)