mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
fix: render empty scalar nodes
This commit is contained in:
14
test_specs/nullable-examples.openapi.yaml
Normal file
14
test_specs/nullable-examples.openapi.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
openapi: 3.1.0
|
||||
components:
|
||||
schemas:
|
||||
Thing:
|
||||
type: object
|
||||
description: A nullable example.
|
||||
properties:
|
||||
target:
|
||||
nullable: true
|
||||
type: string
|
||||
enum:
|
||||
- staging
|
||||
- production
|
||||
example:
|
||||
Reference in New Issue
Block a user