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

Refactor openapi validation gen to avoid mutation inside GetValueType() #904

Merged
merged 4 commits into from
Apr 15, 2024

Commits on Apr 13, 2024

  1. refact openapi validation gen to avoid mutation inside GetValueType()

    Signed-off-by: Dmitriy Kalinin <dkalinin@vmware.com>
    Dmitriy Kalinin committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    6a30986 View commit details
    Browse the repository at this point in the history
  2. do not include named validation in openapi if when= is present

    when= introduces more validation dynamicism which is not possible to represent via openapi
    
    Signed-off-by: Dmitriy Kalinin <dkalinin@vmware.com>
    Dmitriy Kalinin committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    eacb7bc View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. set min/maxItems and min/maxProperties when generating openapi

    Signed-off-by: Dmitriy Kalinin <dkalinin@vmware.com>
    Dmitriy Kalinin committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    43dee5f View commit details
    Browse the repository at this point in the history
  2. scope openapi methods to OpenAPIDocument

    Signed-off-by: Dmitriy Kalinin <dkalinin@vmware.com>
    Dmitriy Kalinin committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    9663687 View commit details
    Browse the repository at this point in the history