Request: Include enums

Open
#29 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
openapi
Domain
api

Research direction

Start by reviewing the OpenAPI specification and the referenced djstripe/enums.py file at the linked revision to understand which string values are currently maintained manually. Map the requested enum coverage across the specification and define completion as all applicable possible string values being represented as enums.

Written by the indexing model from the issue text.

Description

future

While I'm here I might as well follow up on #28 with a long-time request: I'd love for the spec to include all the enums for possible string values everywhere.

This would make this stuff a lot easier:

https://github.com/dj-stripe/dj-stripe/blob/9145410fb4b067e8aad7f181ddc8b339a3514774/djstripe/enums.py#L55

Right now that's all done manually...

Dominant language
No language data
Stars
503
Forks
148
Avg merge
6d 14m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stripe/openapi

All issues in stripe/openapi

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.