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

fix: undefined error for xml when example is defined #175

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

AlexVarchuk
Copy link
Contributor

@AlexVarchuk AlexVarchuk commented Nov 29, 2024

What/Why/How?

fix an undefined error for case when example is exists

{
        type: 'object',
        properties: {
          name: {
            type: 'array',
            items: {
              type: 'string',
              example: ['John', 'Smith'],
            }
          }
        }
      }

Reference

Testing

Screenshots (optional)

Screenshot 2024-11-29 at 17 21 44

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@AlexVarchuk AlexVarchuk requested a review from a team as a code owner November 29, 2024 16:36
@AlexVarchuk AlexVarchuk self-assigned this Nov 29, 2024
@AlexVarchuk AlexVarchuk mentioned this pull request Nov 29, 2024
5 tasks
@AlexVarchuk AlexVarchuk merged commit 5fc09e7 into main Nov 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants