Skip to content

Commit e4e1931

Browse files
Default to openapi-generator 7.10.0 in rust.sh
The openapi-generator needs to be at least 5.2.0 to build properly, see this PR: OpenAPITools/openapi-generator#9745.
1 parent ea9a206 commit e4e1931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openapi/rust.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ popd > /dev/null
4646
source "${SCRIPT_ROOT}/openapi-generator/client-generator.sh"
4747
source "${SETTING_FILE}"
4848

49+
OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-v7.10.0}" \
50+
4951
CLIENT_LANGUAGE=rust; \
5052
CLEANUP_DIRS=(docs lib); \
5153
kubeclient::generator::generate_client "${OUTPUT_DIR}"

0 commit comments

Comments
 (0)