Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M Mizu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Mizu
  • Repository
Switch branch/tag
  • Mizu
  • agent
  • pkg
  • oas
  • test_artifacts
  • params.har.spec.json
Find file BlameHistoryPermalink
  • Andrey Pokhilko's avatar
    Add option to limit example len (#1145) · 7a823e89
    Andrey Pokhilko authored Jun 16, 2022
    
    
    Do not save OAS example response if it is over the limit.
    SpecGen.MaxExampleLen is measured in bytes.
    Limit=0 means "don't record any examples", while limit=-1 means "record all".
    
    Limit is configured via the config file / --set: --set oas.max-example-len=100.
    The default is 10KB.
    
    This PR breaks the previous config. Moved oas bool (enable/disable OAS) to oas.enable.
    Users who wish to disable OAS (or to explicitly enable it) should now to so with --set oas.enable=false instead of --set oas=false.
    Co-authored-by: default avatarNimrod Gilboa Markevich <nimrod@up9.com>
    Co-authored-by: default avatarNimrod Gilboa Markevich <59927337+nimrod-up9@users.noreply.github.com>
    7a823e89

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全