mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
example json actualized
This commit is contained in:
parent
1ff396fb56
commit
81c110022e
@ -235,16 +235,14 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": {
|
|
||||||
"application/json": {
|
|
||||||
"id": 1,
|
|
||||||
"title": "Hello world!",
|
|
||||||
"content": "Hello world and hello universe. Thank you all very much!!!",
|
|
||||||
"thumbnail": "thumbnail.png"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
|
"example": {
|
||||||
|
"id": 1,
|
||||||
|
"title": "Hello world!",
|
||||||
|
"content": "Hello world and hello universe. Thank you all very much!!!",
|
||||||
|
"thumbnail": "thumbnail.png"
|
||||||
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/blog"
|
"$ref": "#/definitions/blog"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user