Skip to content

Commit b6db917

Browse files
committed
chore: test commit
1 parent 8a89675 commit b6db917

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scripts/generate-api-docs.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ for spec_file in $spec_files; do
261261
display_category=$(echo "$category" | sed 's/-/ /g' | sed 's/_/ /g' | sed 's/\b\w/\U&/g')
262262

263263
# Get the title from the spec file (first line with 'title:')
264-
title=$(grep -m 1 '^[[:space:]]*title:' "$spec_file" | sed 's/^[[:space:]]*title:[[:space:]]*//' | tr -d '"' || echo "$name_without_ext")
264+
title=$(grep -m 1 '^[[:space:]]*title:' "$spec_file" \
265+
| sed 's/^[[:space:]]*title:[[:space:]]*//' \
266+
| tr -d '"' \
267+
|| echo "$name_without_ext")
268+
265269

266270
# Create the output filename
267271
output_file="${relative_path%.*}.html"

specs/resourceRecommendation/ClusterResourceRecommendation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.1.0
22
info:
33
title: Resource Recommender
44
description: Analyzes the history of resource usage (such as CPU and memory) for Kubernetes workloads in a specific cluster and generates data-backed recommendations for optimal resource allocation.
5-
version: 0.0.2
5+
version: 0.0.1
66
servers:
77
- url: http://localhost:8080/orchestrator
88
description: Devtron API Server

0 commit comments

Comments
 (0)