Field default value
cbandy opened this issue · 2 comments
cbandy commented
I'd like to be able to show the default value of a field. For example, the default value of spec.replicas
is 1
below.
schema:
openAPIV3Schema:
properties:
spec:
type: object
properties:
replicas:
default: 1
format: int32
minimum: 0
type: integer
roee88 commented
Here is how it looks like with the built-in template with #55 (scroll down to the code
field)
https://github.com/mesh-for-data/crdoc/blob/ef88e6787ede8fccb675759561b252e070e1def7/example/output.md
cbandy commented
Looks great!