Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of "Address" to describe two distinct types #10

Open
BelfordZ opened this issue May 13, 2019 · 0 comments
Open

Use of "Address" to describe two distinct types #10

BelfordZ opened this issue May 13, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@BelfordZ
Copy link
Contributor

Describe the bug
The filter content descriptor has a field that is called "address" but it can be an address OR an array of address. This is in conflict with the components.schemas.address definition.

To Reproduce
Generate a client for this spec and view the exported type aliases.

Expected behavior
Address, when it can also be an array, should be named differently.

Perhaps "AddressOrArrayOfAddresses"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant