mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	Fix post/path requests with missing 'type' property for gender
This commit is contained in:
		| @@ -34,6 +34,7 @@ class GenderDocGenNormalizer implements ContextAwareNormalizerInterface, Normali | ||||
|             'id' => $gender->getId(), | ||||
|             'label' => $this->translatableStringHelper->localize($gender->getLabel()), | ||||
|             'genderTranslation' => $gender->getGenderTranslation(), | ||||
|             'type' => 'chill_main_gender' | ||||
|         ]; | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -943,6 +943,16 @@ paths: | ||||
|                     description: "ok" | ||||
|                 401: | ||||
|                     description: "Unauthorized" | ||||
|     /1.0/main/gender.json: | ||||
|         get: | ||||
|             tags: | ||||
|                 - gender | ||||
|             summary: Return all gender types | ||||
|             responses: | ||||
|                 200: | ||||
|                     description: "ok" | ||||
|                 401: | ||||
|                     description: "Unauthorized" | ||||
|     /1.0/main/user-job.json: | ||||
|         get: | ||||
|             tags: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user