diff --git a/invokeai/app/util/custom_openapi.py b/invokeai/app/util/custom_openapi.py index 50259c12cc..e52028d772 100644 --- a/invokeai/app/util/custom_openapi.py +++ b/invokeai/app/util/custom_openapi.py @@ -81,7 +81,7 @@ def get_openapi_func( # Add the output map to the schema openapi_schema["components"]["schemas"]["InvocationOutputMap"] = { "type": "object", - "properties": invocation_output_map_properties, + "properties": dict(sorted(invocation_output_map_properties.items())), "required": invocation_output_map_required, }