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

remove examples from schema #890

Merged
merged 1 commit into from
Jan 27, 2024
Merged

remove examples from schema #890

merged 1 commit into from
Jan 27, 2024

Conversation

cdimascio
Copy link
Owner

No description provided.

@cdimascio cdimascio merged commit 0ad49ec into master Jan 27, 2024
6 checks passed
@javier-sierra-sngular
Copy link

Hello @cdimascio

I provide you and edge case where the example is not being removed. It is related to Schema Composition keywords

image

Here is the schema used:

allOf:
  - type: object
    properties:
      id:
        type: string
      title:
        type: string
  - type: object
    properties:
      id:
        type: string
      name:
        type: string
example:
  id: 'david-white-id'
  title: 'Mr'
  name: 'David White'

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