question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove coreapi requirement

See original GitHub issue

Description

The coreapi requirement should be removed from requirements/base.txt.

Rationale

From the CoreAPI page:

DEPRECATION NOTICE: As of djangorestframework 3.9, the plan is to phase out CoreAPI in favor of OpenAPI as the default schema representation. New projects should consider using OpenAPI rather than CoreAPI. See the DRF 3.9 release announcment for more details.

The DRF 3.9 page has an example of how to use the integrated OpenAPI support.

Use case(s) / visualization(s)

None. It’s a requirement for a module no longer developed. If it’s used somewhere in the template that I’ve missed, it should be replaced with OpenAPI equivalents.

I only noticed it because I’m going through a Django project generated by this cookiecutter and can’t explain why the requirement exists.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
colecommented, Feb 19, 2020

coreapi has clearly been deprecated by DRF (see the 3.10 release announcement) The method of generating documentation given above is no longer recommended in the docs.

0reactions
morenoh149commented, Nov 24, 2019

so what’s the fix just remove the line from requirements.txt?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove coreapi requirement · Issue #1969 - GitHub
Description The coreapi requirement should be removed from requirements/base.txt. Rationale From the CoreAPI page: DEPRECATION NOTICE: As of ...
Read more >
Developers - Remove coreapi requirement - - Bountysource
The coreapi requirement should be removed from requirements/base.txt . Rationale. From the CoreAPI page: DEPRECATION NOTICE: As of djangorestframework 3.9, the ...
Read more >
EF Core API how to remove the Required value - Stack Overflow
No information is available for this page.
Read more >
Core API
Notes - Create, update and delete items from a list of notes. http://notes.coreapi.org/; Game - Find the treasure in 5 turns or less....
Read more >
The command line client - Core API
Notes - Create, update and delete items from a list of notes. ... Some actions may take parameters which can be either optional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found