@meshery/schemas 1.3.50 → 1.3.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cloudApi.d.mts +5825 -3150
- package/dist/cloudApi.d.ts +5825 -3150
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.d.ts +2102 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.js +1 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.mjs +0 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.js +8 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.mjs +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -948,7 +948,7 @@ schemas/constructs/ (OpenAPI YAML source files)
|
|
|
948
948
|
|
|
949
949
|
### Go Generation Pipeline
|
|
950
950
|
|
|
951
|
-
`build/generate-golang.js` runs
|
|
951
|
+
`build/generate-golang.js` runs an 11-stage pipeline per package. The pipeline generates, transforms, and validates Go structs.
|
|
952
952
|
|
|
953
953
|
| Stage | Function | What it does |
|
|
954
954
|
| --- | --- | --- |
|
|
@@ -962,6 +962,7 @@ schemas/constructs/ (OpenAPI YAML source files)
|
|
|
962
962
|
| 8 | `ensureRequiredImports()` | Adds missing Go imports (e.g., `uuid`) when inlined `x-go-type` requires them |
|
|
963
963
|
| 9 | `validateGeneratedDbTags()` | Verifies every `db:` tag declared in the schema is present in generated Go |
|
|
964
964
|
| 10 | `validateGeneratedJsonTags()` | Verifies every `json:` tag in generated Go matches the schema property name |
|
|
965
|
+
| 11 | `formatGoFile()` | Runs `gofmt -w` on the finished file so generated Go is gofmt-clean as generated |
|
|
965
966
|
|
|
966
967
|
The **property name is the single source of truth** for the json wire format. oapi-codegen reads it verbatim (stage 1), and `validateGeneratedJsonTags` confirms it survived the pipeline unchanged (stage 10).
|
|
967
968
|
|