Skip to content

Conversation

@pbasista
Copy link
Contributor

@pbasista pbasista commented Feb 9, 2018

The specification:

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schema

clearly states that fields:

  • #/info
  • #/paths
  • #/components
  • #/components/schemas
  • #/components/responses
  • #/components/parameters
  • #/components/requestBodies

are objects.

The specification:

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject

clearly states that fields:

- #/info
- #/paths
- #/components
- #/components/schemas
- #/components/responses
- #/components/parameters
- #/components/requestBodies

are objects.
@codecov
Copy link

codecov bot commented Feb 9, 2018

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   97.16%   97.16%           
=======================================
  Files          18       18           
  Lines         883      883           
=======================================
  Hits          858      858           
  Misses         25       25
Impacted Files Coverage Δ
openapi_core/components.py 100% <100%> (ø) ⬆️
openapi_core/specs.py 97.33% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e451c9f...49c2330. Read the comment docs.

@p1c2u
Copy link
Collaborator

p1c2u commented Feb 28, 2018

@pbasista Thanks for the contribution!

@p1c2u p1c2u merged commit 3cc1101 into python-openapi:master Feb 28, 2018
bjmc pushed a commit to bjmc/openapi-core that referenced this pull request Jun 12, 2019
Use appropriate default values for OpenAPI object fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants