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
In latest v0.3.0 release, object type is no longer notated in the table of parameters (previously, the top level amount param had "object" type notated:
Another couple of props are missing from the output. For example, given this param:
In latest v0.3.0 release, object type is no longer notated in the table of parameters (previously, the top level amount param had "object" type notated
This doesn't look like a regression, I'm still seeing the proper schema name listed for objects. I'm guessing this is a bug for schema using allOf. I'll test it out and try to fix.
In latest v0.3.0 release, object type is no longer notated in the table of parameters (previously, the top level amount param had "object" type notated
This doesn't look like a regression, I'm still seeing the proper schema name listed for objects. I'm guessing this is a bug for schema using allOf. I'll test it out and try to fix.
The "Nullable" and maxLength are being omitted.
Is nullable different from not being required?
Indeed nullable is not required. As long as required is displayed nullable is not needed. My mistake.
Okay cool, #102 should fix the allOf issue. I'll open another PR to add support for the following qualifiers (let me know if I missed anything important):
maxLength
minLength
maximum
minumum
exclusiveMaximum
exclusiveMinimum
maxItems
minItems
uniqueItems
maxProperties
minProperties
multipleOf
pattern
if you have a schema with:
slug:
type: stringdescription: The human-readable, unique identifier, used to identify the document.minLength: 1maxLength: 40pattern: "^[a-zA-Z0-9_-]*$"required: true
would render:
slug string - REQUIRED
Possible values: 1 ≤ length ≤ 40, Value must match regular expression ^[a-zA-Z0-9_-]*$
The human-readable, unique identifier, used to identify the document.
In latest v0.3.0 release,

object
type is no longer notated in the table of parameters (previously, the top levelamount
param had "object" type notated:Another couple of props are missing from the output. For example, given this param:
"correlationId": { "maxLength": 40, "type": "string", "description": "Invoice correlation id", "nullable": true, }
Actual output:

Expected:

The "Nullable" and maxLength are being omitted.
The text was updated successfully, but these errors were encountered: