Skip to content
Discussion options

You must be logged in to vote

This particular quirk has been around for a while, it basically comes down to API fields that are declared as read_only=True that are not required, as they are still marked as required in the schema.

Would this diff fix the generation?

diff --git a/schema.yml b/schema.yml
index daf3a9eba..26edc61bd 100644
--- a/schema.yml
+++ b/schema.yml
@@ -30498,6 +30498,7 @@ components:
         parent_name:
           type: string
           readOnly: true
+          nullable: true
         users:
           type: array
           items:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xunleii
Comment options

@BeryJu
Comment options

Answer selected by xunleii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants