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

Resolved inflecting component attributes in OpenAPI SchemaGenerator#1003

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

Merged
n2ygk merged 1 commit intodjango-json-api:masterfromsha016:openapi-formatting
Nov 11, 2021

Conversation

sha016
Copy link
Contributor

@sha016sha016 commentedOct 27, 2021
edited by sliverc
Loading

Fixes#967

Description of the Change

applied format_field_name to 3 instances of field.field_name and update snapshot

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name inAUTHORS

@sha016sha016 changed the titleapplied format_field_name to 3 instances of field.field_nameResolved inflecting component attributes in OpenAPI SchemaGeneratorOct 27, 2021
@sha016
Copy link
ContributorAuthor

Amended commit with flake8. All tests passing on python3.7

Copy link
Member

@slivercsliverc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for working on this. Your changes look good. The snapshottest seems to have messed up the order of the tests though and therefore the diff is not really readable...

Actually as snapshottest is not really maintained I wanted to switch to a different snapshot tool anyway which will also produce better diff results. So I will do this in another PR and once merged this PR can be rebased.

In the mean time could add yourself to AUTHORS and add a changelog entry? Thanks.

@sha016
Copy link
ContributorAuthor

@sliverc Amended. Can you please label this PR as hacktoberfest-accepted ? Thank you

@sliverc
Copy link
Member

@sliverc Amended. Can you please label this PR as hacktoberfest-accepted ? Thank you

Sure. Added. I hope to have this merged soon though.

Copy link
Member

@slivercsliverc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Rebased to master and updated syrupy snapshots... now the snapshot diff is readable... 👍 For me this PR looks good.

@n2ygk As you have a better understanding of the open api schema could you have a look at this PR as well? Thanks.

@slivercsliverc requested a review fromn2ygkNovember 10, 2021 17:07
Copy link
Contributor

@n2ygkn2ygk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good. Thanks for this.

@n2ygkn2ygk merged commitd025163 intodjango-json-api:masterNov 11, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@slivercslivercsliverc approved these changes

@n2ygkn2ygkn2ygk approved these changes

@auvipyauvipyauvipy approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Inflect component attributes when using the OpenAPI SchemaGenerator
4 participants
@sha016@sliverc@n2ygk@auvipy

[8]ページ先頭

©2009-2025 Movatter.jp