Coreapi topic #8602
Unanswered
pfk-beta
asked this question in
Question & Answer
Coreapi topic
#8602
Replies: 1 comment 1 reply
-
As far as I can tell, CoreAPI was deprecated in DRF 3.10, and the current suggested way is to use OpenAPI instead. Deprecation announcement: https://www.django-rest-framework.org/community/3.10-announcement/#openapi-schema-generation |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thanks for DRF software and greate community around it. Recently I came back to using DRF, and now my scenario is to create api service and client library. To not reinventing the wheel, I dediced to use coreapi, as it is demonstrated in documentation page (https://www.django-rest-framework.org/topics/api-clients/). So I play with coreapi cli, to get listings, created examples in python, created wrapper to play with my objects. Then I realize that I need to implement one of core usecases, creating object via API. It is simple, just
client.action(['api', 'create_object'], params={'name': 'test_name'})
. What a suprise!? It doesn't work:Yes, I'm doing it wrong, params are url parameters, you need post data. Then I visit coreapi repositories. Top message on each:
This repository has been archived by the owner. It is now read-only. .
Questions:
or
PS
to be clear, idea behind coreapi is great, to easly consume api with generated schema. But it is not finished, and not maintained.
Beta Was this translation helpful? Give feedback.
All reactions