Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add additional meta data to schema and errors#120

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
danielbradburn wants to merge8 commits intopython-openapi:master
base:master
Choose a base branch
Loading
fromcrunchr:schema-additional-metadata

Conversation

danielbradburn
Copy link
Contributor

This pull request adds additional information in the schema object (name and dered) and additional stores a reference in schema errors to the schema that caused the error. This gives us the ability to provide additional context when an error occurs, for example if the schema is named then the name of the schema, or if the yaml is parsed with ruamel.yaml we can show the line and column number that generated the error.

…store schema in errors. This gives us the ability to provide additional context when an error occurs, for example if the schema is named then the name of the schema, or if the yaml is parsed with ruamel.yaml we can show the line and column number that generated the error.
@codecov
Copy link

codecovbot commentedMar 8, 2019
edited
Loading

Codecov Report

Merging#120 intomaster willincrease coverage by1.61%.
The diff coverage is100%.

Impacted file tree graph

@@            Coverage Diff            @@##           master    #120      +/-   ##=========================================+ Coverage   96.19%   97.8%   +1.61%=========================================  Files          54      54                Lines        1444    1457      +13     =========================================+ Hits         1389    1425      +36+ Misses         55      32      -23
Impacted FilesCoverage Δ
openapi_core/schema/schemas/generators.py100% <100%> (ø)⬆️
openapi_core/schema/schemas/models.py98.72% <100%> (+4.49%)⬆️
openapi_core/schema/schemas/registries.py100% <100%> (ø)⬆️
openapi_core/schema/schemas/exceptions.py100% <100%> (+17.3%)⬆️
openapi_core/schema/schemas/factories.py100% <100%> (ø)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update395f68b...9969e6c. Read thecomment docs.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@danielbradburn

[8]ページ先頭

©2009-2025 Movatter.jp