Reponse's schema is a property?
See original GitHub issueAccording to the Swagger spec, the Response Object (io.swagger.models.Response) has a schema property that contains a Schema Object (io.swagger.models.Model). However, in swagger-core, Response#getSchema() returns a Property, not a Model. Is that intended or is the implementation incomplete?
Issue Analytics
- State:
 - Created 8 years ago
 - Comments:8 (5 by maintainers)
 
Top Results From Across the Web
Schema in a response allows additional properties
The schema you have defined allows additional properties, either intentionally or unintentionally. In JSON, by default, any object can also accept additional ...
Read more >OpenAPI Specification - Version 3.0.3 - Swagger
The OpenAPI Specification defines a standard interface to RESTful APIs which allows both humans and computers to understand service capabilities without ...
Read more >Step 5: Response example and schema (API reference tutorial)
The response schema documents the response in a more comprehensive, general way, listing each property that could possibly be returned, ...
Read more >object — Understanding JSON Schema 2020-12 documentation
The value of properties is an object, where each key is the name of a property and each value is a schema used...
Read more >Enforce response contents with the - Redocly
Single response containing one property ; Multiple responses containing one property; Multiple responses containing multiple properties. Let's get started!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This will change with the 3.0 specification, as parameters, models, and properties will essentially be the same.
Yes I would soon run into #1202 but I would be able to read top-level properties.