Update api spec (#97)
* YOYO NEW API SPEC! * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * attempt fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * I have generated the latest API! --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -217,7 +217,7 @@ def generateTypeAndExamplePython(
|
||||
elif (
|
||||
schema["type"] == "number"
|
||||
and "format" in schema
|
||||
and schema["format"] == "float"
|
||||
and (schema["format"] == "float" or schema["format"] == "double")
|
||||
):
|
||||
parameter_type = "float"
|
||||
parameter_example = "3.14"
|
||||
|
Reference in New Issue
Block a user