You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 2. Unzip the package and add the binary location to PATH
50
-
export PATH="<Your directory to store KCLOpenapi binary>:$PATH"
50
+
export PATH="<Your directory to store KCLOpenAPI binary>:$PATH"
51
51
```
52
52
53
53
## Features
@@ -72,7 +72,7 @@ Alternatively, if you may want to generate them yourself, please refer [Generate
72
72
73
73
The tool can also translate
74
74
the [Kubernetes CRD](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/) to KCL models.
75
-
By parsing the spec.versions[n].schema.openAPIV3Schema (n means the latest version of the spec will be used) section of the CRD, the KCL
75
+
By parsing the `spec.versions[n].schema.openAPIV3Schema` (n means the latest version of the spec will be used) section of the CRD, the KCL
76
76
OpenAPI tool will extract the structural schema and generate the corresponding KCL representation.
77
77
78
78
The command is as follows:
@@ -83,8 +83,7 @@ The command is as follows:
83
83
84
84
## KCL OpenAPI Spec
85
85
86
-
The [KCL OpenAPI Spec](https://kcl-lang.io/docs/reference/cli/openapi/spec) defines a complete specification of how OpenAPI objects are
87
-
mapping to KCL language elements.
86
+
The [KCL OpenAPI Spec](https://kcl-lang.io/docs/reference/cli/openapi/spec) defines a complete specification of how OpenAPI objects are mapped to KCL language elements.
0 commit comments