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
openapi: 3.0.0
info:
title: Sample API
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
version: 0.1.9
paths:
/toto:
get:
responses:
"200": # status code
description: A JSON array of user names
content:
application/json:
schema:
type: string
GET /toto
return bob , should return "bob" it misses the " so it is not valid json
notice that when changing the schema to
type : object
properties :
"jo" :
type : string
it returns correctly { "jo" : "bob" }
The text was updated successfully, but these errors were encountered:
given this spec
GET /toto
return bob , should return "bob" it misses the " so it is not valid json
notice that when changing the schema to
type : object
properties :
"jo" :
type : string
it returns correctly { "jo" : "bob" }
The text was updated successfully, but these errors were encountered: