salutcesmoileo #4
@ -368,11 +368,12 @@ paths:
 | 
				
			|||||||
          $ref: '#/components/responses/UnauthorizedError'
 | 
					          $ref: '#/components/responses/UnauthorizedError'
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  /RegRequests:
 | 
					  
 | 
				
			||||||
 | 
					  /Requests/{type}:
 | 
				
			||||||
    get:
 | 
					    get:
 | 
				
			||||||
      summary : Get an array of every register requests
 | 
					      summary: Give an array of every requests of the specified type
 | 
				
			||||||
      tags : 
 | 
					      tags : 
 | 
				
			||||||
        - RegisterRequests
 | 
					        - Requests
 | 
				
			||||||
        - Ext (Student Registration)
 | 
					        - Ext (Student Registration)
 | 
				
			||||||
      responses : 
 | 
					      responses : 
 | 
				
			||||||
        '200':
 | 
					        '200':
 | 
				
			||||||
@ -382,60 +383,39 @@ paths:
 | 
				
			|||||||
              schema : 
 | 
					              schema : 
 | 
				
			||||||
                type : array
 | 
					                type : array
 | 
				
			||||||
                items :
 | 
					                items :
 | 
				
			||||||
                 $ref : '#/components/schemas/RegRequests'
 | 
					                  oneOf:
 | 
				
			||||||
  
 | 
					                    - type : object
 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  /RegRequest/{id}:
 | 
					 | 
				
			||||||
    get :
 | 
					 | 
				
			||||||
      summary : Get all the data composing a register request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - RegisterRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json :
 | 
					 | 
				
			||||||
              schema :
 | 
					 | 
				
			||||||
                type : object
 | 
					 | 
				
			||||||
                      properties:  
 | 
					                      properties:  
 | 
				
			||||||
                $ref : '#/components/schemas/RegRequest'
 | 
					                        id : 
 | 
				
			||||||
 | 
					                          type : integer
 | 
				
			||||||
 | 
					                        Firstname : 
 | 
				
			||||||
 | 
					                          type : string
 | 
				
			||||||
 | 
					                        Name : 
 | 
				
			||||||
 | 
					                          type : string
 | 
				
			||||||
 | 
					                        Date :
 | 
				
			||||||
 | 
					                          type : string 
 | 
				
			||||||
 | 
					                          description : Follow the iso 8601 ("YYYY-MM-DD")
 | 
				
			||||||
 | 
					                        State : 
 | 
				
			||||||
 | 
					                          type : string
 | 
				
			||||||
 | 
					                    - $ref : '#/components/schemas/RRRequest'
 | 
				
			||||||
 | 
					                    - $ref : '#/components/schemas/SSRequest'
 | 
				
			||||||
 | 
					                    - $ref : '#/components/schemas/UnRegRequest'
 | 
				
			||||||
 | 
					                    - $ref : '#/components/schemas/ExempRequest'
 | 
				
			||||||
 | 
					                  discriminator:
 | 
				
			||||||
 | 
					                    propertyName : type
 | 
				
			||||||
                  
 | 
					                  
 | 
				
			||||||
    parameters:
 | 
					    parameters:
 | 
				
			||||||
      - name: id
 | 
					      - name: type
 | 
				
			||||||
        in: path
 | 
					        in: path
 | 
				
			||||||
| 
						
							
	
	
	
	
	
	
	
	 | 
				|||||||
        description: id of a regRequest
 | 
					        description: type of the request
 | 
				
			||||||
        required: true
 | 
					        required: true
 | 
				
			||||||
        schema:
 | 
					        schema:
 | 
				
			||||||
          type: integer
 | 
					          type: integer
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
    patch:
 | 
					 | 
				
			||||||
        summary: Change the state of a register request
 | 
					 | 
				
			||||||
        tags:
 | 
					 | 
				
			||||||
          - RegisterRequests
 | 
					 | 
				
			||||||
          - Ext (Student Registration)
 | 
					 | 
				
			||||||
        security:
 | 
					 | 
				
			||||||
          - bearer: []
 | 
					 | 
				
			||||||
        requestBody:
 | 
					 | 
				
			||||||
          required: true
 | 
					 | 
				
			||||||
          content:
 | 
					 | 
				
			||||||
            application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
              schema:
 | 
					 | 
				
			||||||
                type: object
 | 
					 | 
				
			||||||
                properties:
 | 
					 | 
				
			||||||
                  State:
 | 
					 | 
				
			||||||
                    type: string
 | 
					 | 
				
			||||||
        responses:
 | 
					 | 
				
			||||||
          '201':
 | 
					 | 
				
			||||||
            description: State modified
 | 
					 | 
				
			||||||
          '401':
 | 
					 | 
				
			||||||
            $ref: '#/components/responses/UnauthorizedError'
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
  /RegRequest:
 | 
					 | 
				
			||||||
    post : 
 | 
					    post : 
 | 
				
			||||||
      summary: Add a new register request
 | 
					      summary: create a request
 | 
				
			||||||
      tags : 
 | 
					      tags : 
 | 
				
			||||||
        - RegisterRequests
 | 
					        - Requests
 | 
				
			||||||
        - Ext (Student Registration)
 | 
					        - Ext (Student Registration)
 | 
				
			||||||
      security: 
 | 
					      security: 
 | 
				
			||||||
        - bearer: []
 | 
					        - bearer: []
 | 
				
			||||||
@ -444,134 +424,40 @@ paths:
 | 
				
			|||||||
        content:
 | 
					        content:
 | 
				
			||||||
          application/x-www-form-urlencoded:
 | 
					          application/x-www-form-urlencoded:
 | 
				
			||||||
            schema:
 | 
					            schema:
 | 
				
			||||||
              $ref: '#/components/schemas/RegRequest'
 | 
					              oneOf:
 | 
				
			||||||
 | 
					                - $ref : '#/components/schemas/RRRequest'
 | 
				
			||||||
 | 
					                - $ref : '#/components/schemas/SSRequest'
 | 
				
			||||||
 | 
					                - $ref : '#/components/schemas/UnRegRequest'
 | 
				
			||||||
 | 
					                - $ref : '#/components/schemas/ExempRequest'
 | 
				
			||||||
 | 
					                - $ref : '#/components/schemas/RegRequest'
 | 
				
			||||||
 | 
					              discriminator:
 | 
				
			||||||
 | 
					                    propertyName : type
 | 
				
			||||||
      responses:
 | 
					      responses:
 | 
				
			||||||
        '201':
 | 
					        '201':
 | 
				
			||||||
          description: New student created
 | 
					          description: New request created
 | 
				
			||||||
        '401':
 | 
					        '401':
 | 
				
			||||||
          $ref: '#/components/responses/UnauthorizedError'
 | 
					          $ref: '#/components/responses/UnauthorizedError'
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
  /ReRegRequest:
 | 
					  /Requests/{type}{id}:
 | 
				
			||||||
| 
							
							
								
									
	
	
	
	
	
	
	
	 
					
					tonitch marked this conversation as resolved
					
				 
				
				
					
						tonitch
						commented  
			
		Il manque un / Il manque un /
 `/Requests/{type}/{id}` 
			
			
		 | 
					|||||||
    get : 
 | 
					 | 
				
			||||||
      summary : Get an array of every reregister requests
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ReregisterRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                type : array
 | 
					 | 
				
			||||||
                items :
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/ReRegRequest'
 | 
					 | 
				
			||||||
    post : 
 | 
					 | 
				
			||||||
      summary: Add a new ReRegister request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ReregisterRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      security: 
 | 
					 | 
				
			||||||
        - bearer: []
 | 
					 | 
				
			||||||
      requestBody:
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        content:
 | 
					 | 
				
			||||||
          application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
            schema:
 | 
					 | 
				
			||||||
              $ref: '#/components/schemas/ReRegRequest'
 | 
					 | 
				
			||||||
      responses:
 | 
					 | 
				
			||||||
        '201':
 | 
					 | 
				
			||||||
          description: New ReRegister request created
 | 
					 | 
				
			||||||
        '401':
 | 
					 | 
				
			||||||
          $ref: '#/components/responses/UnauthorizedError'
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  /ReRegRequest/{id}:
 | 
					 | 
				
			||||||
    parameters:
 | 
					    parameters:
 | 
				
			||||||
      - name: id
 | 
					        - name: type
 | 
				
			||||||
          in: path
 | 
					          in: path
 | 
				
			||||||
        description: id of a reregistrationrequest
 | 
					          description: type of the request
 | 
				
			||||||
          required: true
 | 
					          required: true
 | 
				
			||||||
          schema:
 | 
					          schema:
 | 
				
			||||||
            type: integer
 | 
					            type: integer
 | 
				
			||||||
    get:
 | 
					 | 
				
			||||||
      summary : get the data of a single reregistration request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
       - ReregisterRequests
 | 
					 | 
				
			||||||
       - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/ReRegRequest'
 | 
					 | 
				
			||||||
    patch:
 | 
					 | 
				
			||||||
        summary: Change the state of a reregister request
 | 
					 | 
				
			||||||
        tags:
 | 
					 | 
				
			||||||
          - ReregisterRequests
 | 
					 | 
				
			||||||
          - Ext (Student Registration)
 | 
					 | 
				
			||||||
        security:
 | 
					 | 
				
			||||||
          - bearer: []
 | 
					 | 
				
			||||||
        requestBody:
 | 
					 | 
				
			||||||
          required: true
 | 
					 | 
				
			||||||
          content:
 | 
					 | 
				
			||||||
            application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
              schema:
 | 
					 | 
				
			||||||
                type: object
 | 
					 | 
				
			||||||
                properties:
 | 
					 | 
				
			||||||
                  State:
 | 
					 | 
				
			||||||
                    type: string
 | 
					 | 
				
			||||||
        responses:
 | 
					 | 
				
			||||||
          '201':
 | 
					 | 
				
			||||||
            description: State modified
 | 
					 | 
				
			||||||
          '401':
 | 
					 | 
				
			||||||
            $ref: '#/components/responses/UnauthorizedError'
 | 
					 | 
				
			||||||
  /SSRequest:
 | 
					 | 
				
			||||||
    get : 
 | 
					 | 
				
			||||||
      summary : Get an array of every scholarship requests
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ScholarshipRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                type : array
 | 
					 | 
				
			||||||
                items :
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/SSRequest'
 | 
					 | 
				
			||||||
    post : 
 | 
					 | 
				
			||||||
      summary: Add a new scholarship request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ScholarshipRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      security: 
 | 
					 | 
				
			||||||
        - bearer: []
 | 
					 | 
				
			||||||
      requestBody:
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        content:
 | 
					 | 
				
			||||||
          application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
            schema:
 | 
					 | 
				
			||||||
              $ref: '#/components/schemas/SSRequest'
 | 
					 | 
				
			||||||
      responses:
 | 
					 | 
				
			||||||
        '201':
 | 
					 | 
				
			||||||
          description: New scholarship request created
 | 
					 | 
				
			||||||
        '401':
 | 
					 | 
				
			||||||
          $ref: '#/components/responses/UnauthorizedError'
 | 
					 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
  /SSRequest/{id}:
 | 
					 | 
				
			||||||
    parameters:
 | 
					 | 
				
			||||||
        - name : id
 | 
					        - name : id
 | 
				
			||||||
          in : path
 | 
					          in : path
 | 
				
			||||||
        description: id of a scholarshiprequest
 | 
					          description: id of the selected Request
 | 
				
			||||||
          required : true
 | 
					          required : true
 | 
				
			||||||
          schema : 
 | 
					          schema : 
 | 
				
			||||||
            type : integer
 | 
					            type : integer
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
    get :
 | 
					    get :
 | 
				
			||||||
      summary : get the data of a single scholarship request
 | 
					      summary : Get all the data composing a request
 | 
				
			||||||
      tags : 
 | 
					      tags : 
 | 
				
			||||||
       - ScholarshipRequests
 | 
					        - Requests
 | 
				
			||||||
        - Ext (Student Registration)
 | 
					        - Ext (Student Registration)
 | 
				
			||||||
      responses : 
 | 
					      responses : 
 | 
				
			||||||
        '200':
 | 
					        '200':
 | 
				
			||||||
@ -579,11 +465,19 @@ paths:
 | 
				
			|||||||
          content : 
 | 
					          content : 
 | 
				
			||||||
            application/json :
 | 
					            application/json :
 | 
				
			||||||
              schema :
 | 
					              schema :
 | 
				
			||||||
                 $ref : '#/components/schemas/SSRequest'
 | 
					                oneOf:
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/RRRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/SSRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/UnRegRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/ExempRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/RegRequest'
 | 
				
			||||||
 | 
					                discriminator:
 | 
				
			||||||
 | 
					                  propertyName : type 
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    patch:
 | 
					    patch:
 | 
				
			||||||
        summary: Change the state of a scholarship request
 | 
					        summary: Change the state of request
 | 
				
			||||||
        tags:
 | 
					        tags:
 | 
				
			||||||
          - ScholarshipRequests
 | 
					          - Requests
 | 
				
			||||||
          - Ext (Student Registration)
 | 
					          - Ext (Student Registration)
 | 
				
			||||||
        security:
 | 
					        security:
 | 
				
			||||||
          - bearer: []
 | 
					          - bearer: []
 | 
				
			||||||
@ -592,10 +486,14 @@ paths:
 | 
				
			|||||||
          content:
 | 
					          content:
 | 
				
			||||||
            application/x-www-form-urlencoded:
 | 
					            application/x-www-form-urlencoded:
 | 
				
			||||||
              schema :
 | 
					              schema :
 | 
				
			||||||
                type: object
 | 
					                oneOf:
 | 
				
			||||||
                properties:
 | 
					                  - $ref : '#/components/schemas/RRRequest'
 | 
				
			||||||
                  State:
 | 
					                  - $ref : '#/components/schemas/SSRequest'
 | 
				
			||||||
                    type: string
 | 
					                  - $ref : '#/components/schemas/UnRegRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/ExempRequest'
 | 
				
			||||||
 | 
					                  - $ref : '#/components/schemas/RegRequest'
 | 
				
			||||||
 | 
					                discriminator:
 | 
				
			||||||
 | 
					                  propertyName : type 
 | 
				
			||||||
        responses:
 | 
					        responses:
 | 
				
			||||||
          '201':
 | 
					          '201':
 | 
				
			||||||
            description: State modified
 | 
					            description: State modified
 | 
				
			||||||
@ -603,159 +501,6 @@ paths:
 | 
				
			|||||||
            $ref: '#/components/responses/UnauthorizedError'              
 | 
					            $ref: '#/components/responses/UnauthorizedError'              
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
  /UnRegRequest:
 | 
					 | 
				
			||||||
    get : 
 | 
					 | 
				
			||||||
        summary : Get an array of every unregister requests
 | 
					 | 
				
			||||||
        tags : 
 | 
					 | 
				
			||||||
          - UnregisterRequests
 | 
					 | 
				
			||||||
          - Ext (Student Registration)
 | 
					 | 
				
			||||||
        responses : 
 | 
					 | 
				
			||||||
          '200':
 | 
					 | 
				
			||||||
            description : OK
 | 
					 | 
				
			||||||
            content : 
 | 
					 | 
				
			||||||
              application/json : 
 | 
					 | 
				
			||||||
                schema : 
 | 
					 | 
				
			||||||
                  type : array
 | 
					 | 
				
			||||||
                  items :
 | 
					 | 
				
			||||||
                   $ref : '#/components/schemas/UnRegRequest'
 | 
					 | 
				
			||||||
    post : 
 | 
					 | 
				
			||||||
      summary: Add a new unregister request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - UnregisterRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      security: 
 | 
					 | 
				
			||||||
        - bearer: []
 | 
					 | 
				
			||||||
      requestBody:
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        content:
 | 
					 | 
				
			||||||
          application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
            schema:
 | 
					 | 
				
			||||||
              $ref: '#/components/schemas/UnRegRequest'
 | 
					 | 
				
			||||||
      responses:
 | 
					 | 
				
			||||||
        '201':
 | 
					 | 
				
			||||||
          description: New unregister request created
 | 
					 | 
				
			||||||
        '401':
 | 
					 | 
				
			||||||
          $ref: '#/components/responses/UnauthorizedError'
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  /UnRegRequest{id}:
 | 
					 | 
				
			||||||
    parameters:
 | 
					 | 
				
			||||||
      - name: id
 | 
					 | 
				
			||||||
        in: path
 | 
					 | 
				
			||||||
        description: id of a unregistrationrequest
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        schema:
 | 
					 | 
				
			||||||
          type: integer
 | 
					 | 
				
			||||||
    get:
 | 
					 | 
				
			||||||
      summary : get the data of a single unregistration request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
       - UnregisterRequests
 | 
					 | 
				
			||||||
       - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/UnRegRequest'
 | 
					 | 
				
			||||||
    patch:
 | 
					 | 
				
			||||||
        summary: Change the state of a unregister request
 | 
					 | 
				
			||||||
        tags:
 | 
					 | 
				
			||||||
          - UnregisterRequests
 | 
					 | 
				
			||||||
          - Ext (Student Registration)
 | 
					 | 
				
			||||||
        security:
 | 
					 | 
				
			||||||
          - bearer: []
 | 
					 | 
				
			||||||
        requestBody:
 | 
					 | 
				
			||||||
          required: true
 | 
					 | 
				
			||||||
          content:
 | 
					 | 
				
			||||||
            application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
              schema:
 | 
					 | 
				
			||||||
                type: object
 | 
					 | 
				
			||||||
                properties:
 | 
					 | 
				
			||||||
                  State:
 | 
					 | 
				
			||||||
                    type: string
 | 
					 | 
				
			||||||
        responses:
 | 
					 | 
				
			||||||
          '201':
 | 
					 | 
				
			||||||
            description: State modified
 | 
					 | 
				
			||||||
          '401':
 | 
					 | 
				
			||||||
            $ref: '#/components/responses/UnauthorizedError'       
 | 
					 | 
				
			||||||
            
 | 
					 | 
				
			||||||
  /ExempRequest:
 | 
					 | 
				
			||||||
    get : 
 | 
					 | 
				
			||||||
      summary : Get an array of every exemptions requests
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ExemptionRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                type : array
 | 
					 | 
				
			||||||
                items :
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/ExempRequest'
 | 
					 | 
				
			||||||
                 
 | 
					 | 
				
			||||||
    post : 
 | 
					 | 
				
			||||||
      summary: Add a new exemption request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
        - ExemptionRequests
 | 
					 | 
				
			||||||
        - Ext (Student Registration)
 | 
					 | 
				
			||||||
      security: 
 | 
					 | 
				
			||||||
        - bearer: []
 | 
					 | 
				
			||||||
      requestBody:
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        content:
 | 
					 | 
				
			||||||
          application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
            schema:
 | 
					 | 
				
			||||||
              $ref: '#/components/schemas/ExempRequest'
 | 
					 | 
				
			||||||
      responses:
 | 
					 | 
				
			||||||
        '201':
 | 
					 | 
				
			||||||
          description: New exemption request created
 | 
					 | 
				
			||||||
        '401':
 | 
					 | 
				
			||||||
          $ref: '#/components/responses/UnauthorizedError'          
 | 
					 | 
				
			||||||
          
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  /ExempRequest/{id}:
 | 
					 | 
				
			||||||
    parameters:
 | 
					 | 
				
			||||||
      - name: id
 | 
					 | 
				
			||||||
        in: path
 | 
					 | 
				
			||||||
        description: id of a exemption request
 | 
					 | 
				
			||||||
        required: true
 | 
					 | 
				
			||||||
        schema:
 | 
					 | 
				
			||||||
          type: integer
 | 
					 | 
				
			||||||
    get:
 | 
					 | 
				
			||||||
      summary : get the data of a single exemption request
 | 
					 | 
				
			||||||
      tags : 
 | 
					 | 
				
			||||||
       - ExemptionRequests
 | 
					 | 
				
			||||||
       - Ext (Student Registration)
 | 
					 | 
				
			||||||
      responses : 
 | 
					 | 
				
			||||||
        '200':
 | 
					 | 
				
			||||||
          description : OK
 | 
					 | 
				
			||||||
          content : 
 | 
					 | 
				
			||||||
            application/json : 
 | 
					 | 
				
			||||||
              schema : 
 | 
					 | 
				
			||||||
                 $ref : '#/components/schemas/ExempRequest'
 | 
					 | 
				
			||||||
    patch:
 | 
					 | 
				
			||||||
        summary: Change the state of a exemption request
 | 
					 | 
				
			||||||
        tags:
 | 
					 | 
				
			||||||
          - ExemptionRequests
 | 
					 | 
				
			||||||
          - Ext (Student Registration)
 | 
					 | 
				
			||||||
        security:
 | 
					 | 
				
			||||||
          - bearer: []
 | 
					 | 
				
			||||||
        requestBody:
 | 
					 | 
				
			||||||
          required: true
 | 
					 | 
				
			||||||
          content:
 | 
					 | 
				
			||||||
            application/x-www-form-urlencoded:
 | 
					 | 
				
			||||||
              schema:
 | 
					 | 
				
			||||||
                type: object
 | 
					 | 
				
			||||||
                properties:
 | 
					 | 
				
			||||||
                  State:
 | 
					 | 
				
			||||||
                    type: string
 | 
					 | 
				
			||||||
        responses:
 | 
					 | 
				
			||||||
          '201':
 | 
					 | 
				
			||||||
            description: State modified
 | 
					 | 
				
			||||||
          '401':
 | 
					 | 
				
			||||||
            $ref: '#/components/responses/UnauthorizedError'        
 | 
					 | 
				
			||||||
components:
 | 
					components:
 | 
				
			||||||
  securitySchemes:
 | 
					  securitySchemes:
 | 
				
			||||||
    bearer:
 | 
					    bearer:
 | 
				
			||||||
@ -887,23 +632,8 @@ components:
 | 
				
			|||||||
        State:
 | 
					        State:
 | 
				
			||||||
          type : string
 | 
					          type : string
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    RegRequests:
 | 
					 | 
				
			||||||
      type : object
 | 
					 | 
				
			||||||
      properties:  
 | 
					 | 
				
			||||||
          id : 
 | 
					 | 
				
			||||||
            type : integer
 | 
					 | 
				
			||||||
          Firstname : 
 | 
					 | 
				
			||||||
            type : string
 | 
					 | 
				
			||||||
          Name : 
 | 
					 | 
				
			||||||
            type : string
 | 
					 | 
				
			||||||
          Date :
 | 
					 | 
				
			||||||
            type : string 
 | 
					 | 
				
			||||||
            description : Follow the iso 8601 ("YYYY-MM-DD")
 | 
					 | 
				
			||||||
          State : 
 | 
					 | 
				
			||||||
            type : string
 | 
					 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    
 | 
					    RRRequest:
 | 
				
			||||||
    ReRegRequest:
 | 
					 | 
				
			||||||
      type : object
 | 
					      type : object
 | 
				
			||||||
      properties :
 | 
					      properties :
 | 
				
			||||||
        id : 
 | 
					        id : 
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user
	
je ne sais pas si c'est l'intention, mais tu n'as pas la possibilité de faire un fetch de toutes les requests.
le plus simple est de changer l'endpoint à
/Requestset le paramètre tu peux le mettre à
in: query. enrequired: false