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

[BUG] When object defined as string #398

Closed
fryette opened this issue May 2, 2022 · 0 comments · Fixed by #399
Closed

[BUG] When object defined as string #398

fryette opened this issue May 2, 2022 · 0 comments · Fixed by #399
Assignees
Labels
bug Something isn't working Triage needed

Comments

@fryette
Copy link
Contributor

fryette commented May 2, 2022

Sometimes schema can have references on object like:

      "Currency": {
        "type": "string",
        "example": [
          "USD",
          "EUR"
        ]
      }
      

To fix it needed use String instead of Currency. So needed to check on base types

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

Successfully merging a pull request may close this issue.

2 participants