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

OpenAPI: Ported docstring operation description from CoreAPI inspector.#6898

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

Conversation

@ysavary
Copy link
Contributor

I would like to document my operation with a description as a docstring comment like it was with coreapi.

indexgenuiner reacted with heart emoji
Copy link
Collaborator

@carltongibsoncarltongibson left a comment

Choose a reason for hiding this comment

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

Hi@ysavary.

Really happy to see this done, but instead of duplicating the code from thecoreapi module, please can you bring it up into the baseViewInspector class.

Also, please could you go over the comments and code to make sure they make sense in a non-CoreAPI context? (For example, talk ofLinks is using CoreAPI terminology.)

Other than that, yes, super! 👍

Copy link
Collaborator

@carltongibsoncarltongibson left a comment

Choose a reason for hiding this comment

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

OK, this looks like a nice addition. Thank you.

@carltongibsoncarltongibson added this to the3.11 Release milestoneNov 6, 2019
@carltongibsoncarltongibson changed the titlePorted docstring operation description from coreapiOpenAPI: Ported docstring operation description from CoreAPI inspector.Nov 6, 2019
@carltongibsoncarltongibson merged commit7c3477d intoencode:masterNov 6, 2019
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull requestNov 17, 2020
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull requestDec 3, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@carltongibsoncarltongibsoncarltongibson approved these changes

Assignees

@carltongibsoncarltongibson

Projects

None yet

Milestone

3.11 Release

Development

Successfully merging this pull request may close these issues.

3 participants

@ysavary@carltongibson@ysavary-swisscom

[8]ページ先頭

©2009-2025 Movatter.jp