Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Merge requests
  • !5534

please add openVALIDATION Project to readme

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/thecodemonkey/patch-1 into master Mar 05, 2020
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: thecodemonkey

please add openVALIDATION Project to the readme.

This open source project includes the integration of openVALIDATION into OpenAPI. It enables the specification of complex validation rules within a service contract using natural language. Thus, both the service stubs and the client proxies including validation logic can be generated automatically. read more...

image

validation rules can also be generated separately.

sample:

openapi: "3.0.0"
info:
  version: 1.0.0
  title: sample
paths:
  /:
    post:
      requestBody:
        content:
          application/json:
            schema:
              properties:
                name:
                  type: string
                mail:
                  type: number
            x-ov-rules:
              culture: en
              rule: |  
                the name of applicant has to be Alex
                and his mail must not be alex@yahoo.com
      responses:
        '200':
          description: ok

PR checklist

  • [ x ] Read the contribution guidelines.
  • [ x ] If contributing template-only or documentation-only changes which will change sample output, build the project before.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/thecodemonkey/patch-1