square / square/connect-api-specification

DisputeReason enum missing case UNKNOWN_REASON

Open
#224 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
76
Forks
36
Avg merge
3h 14m
Merged PRs (30d)
1

Description

Hello!

The DisputeReason enum in the specification is missing the UNKNOWN_REASON case and it's not documented in the API docs. Saw from an earlier issue (#157) that Square is using strings instead of enums so we'll be making that change in our generated Swift client as well.

Thanks!
JB

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.

Research direction

Locate the DisputeReason enum in the OpenAPI specification and review how enum values are reflected in the API documentation and generated Swift client. Add UNKNOWN_REASON wherever the specification requires it, then verify that the documentation and generated client represent the new case consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, swift
Domain
api, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.