added passreset and mail helper
This commit is contained in:
		@@ -141,14 +141,17 @@ Email:
 | 
			
		||||
    email:
 | 
			
		||||
      type: string
 | 
			
		||||
      example: john.doe@bosch.com
 | 
			
		||||
User:
 | 
			
		||||
  allOf:
 | 
			
		||||
    - $ref: 'oas.yaml#/components/schemas/_Id'
 | 
			
		||||
    - $ref: 'oas.yaml#/components/schemas/Email'
 | 
			
		||||
UserName:
 | 
			
		||||
  properties:
 | 
			
		||||
    name:
 | 
			
		||||
      type: string
 | 
			
		||||
      example: johndoe
 | 
			
		||||
User:
 | 
			
		||||
  allOf:
 | 
			
		||||
    - $ref: 'oas.yaml#/components/schemas/_Id'
 | 
			
		||||
    - $ref: 'oas.yaml#/components/schemas/UserName'
 | 
			
		||||
    - $ref: 'oas.yaml#/components/schemas/Email'
 | 
			
		||||
  properties:
 | 
			
		||||
    pass:
 | 
			
		||||
      type: string
 | 
			
		||||
      writeOnly: true
 | 
			
		||||
 
 | 
			
		||||
@@ -171,11 +171,13 @@
 | 
			
		||||
      content:
 | 
			
		||||
        application/json:
 | 
			
		||||
          schema:
 | 
			
		||||
            $ref: 'oas.yaml#/components/schemas/Email'
 | 
			
		||||
            allOf:
 | 
			
		||||
              - $ref: 'oas.yaml#/components/schemas/UserName'
 | 
			
		||||
              - $ref: 'oas.yaml#/components/schemas/Email'
 | 
			
		||||
    responses:
 | 
			
		||||
      200:
 | 
			
		||||
        $ref: 'oas.yaml#/components/responses/Ok'
 | 
			
		||||
      401:
 | 
			
		||||
        $ref: 'oas.yaml#/components/responses/401'
 | 
			
		||||
      404:
 | 
			
		||||
        $ref: 'oas.yaml#/components/responses/404'
 | 
			
		||||
      500:
 | 
			
		||||
        $ref: 'oas.yaml#/components/responses/500'
 | 
			
		||||
		Reference in New Issue
	
	Block a user