Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit 4f5ce2f

Browse files
Merge pull request #36 from firehydrant/js/PDE-5544/updating-resource-naming
PDE-5544/updating resource naming
2 parents 687b040 + 82d5570 commit 4f5ce2f

File tree

3 files changed

+913
-1
lines changed

3 files changed

+913
-1
lines changed

.github/workflows/sdk_generation.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,16 @@ jobs:
5454

5555
- name: Process OpenAPI spec
5656
run: |
57-
# Normalize the schema
57+
# Normalize the schema (structural fixes for overlay generation)
5858
go run ./scripts/normalize openapi-raw.json openapi.json
5959
6060
# Generate Terraform overlay
6161
go run ./scripts/overlay openapi.json ./scripts/overlay/manual-mappings.yaml
6262
63+
# Updating Overlay and Spec Naming to more user-friendly naming conventions
64+
# Overlay generation relies on Entity-based naming, so this needs to be run post-overlay generation
65+
go run ./scripts/naming openapi.json terraform-overlay.yaml
66+
6367
# Move overlay to Speakeasy directory
6468
mkdir -p ${GITHUB_WORKSPACE}/.speakeasy
6569
mv terraform-overlay.yaml ${GITHUB_WORKSPACE}/.speakeasy/

0 commit comments

Comments
 (0)