Skip to content

Makes it possible to access API examples #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

rafaelcaricio
Copy link
Contributor

Would be nice to be able to access the API examples defined in the specification. Not all examples access are implemented in this PR, but it's a first step. The next work would be to make the library parse examples and making it also exposed through the MediaType model.

@codecov
Copy link

codecov bot commented Jul 24, 2018

Codecov Report

Merging #63 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
+ Coverage    98.5%   98.51%   +<.01%     
==========================================
  Files          52       52              
  Lines        1070     1076       +6     
==========================================
+ Hits         1054     1060       +6     
  Misses         16       16
Impacted Files Coverage Δ
openapi_core/schema/media_types/models.py 96.66% <100%> (+0.11%) ⬆️
openapi_core/schema/media_types/generators.py 100% <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 5ffcc6a...15fc9b0. Read the comment docs.

@p1c2u
Copy link
Collaborator

p1c2u commented Jul 28, 2018

@rafaelcaricio thanks for the contribution. LGTM

@p1c2u p1c2u merged commit db37be8 into python-openapi:master Jul 28, 2018
@rafaelcaricio rafaelcaricio deleted the parse-examples branch July 28, 2018 10:53
bjmc pushed a commit to bjmc/openapi-core that referenced this pull request Jun 12, 2019
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