forked from loafle/openapi-generator-original
accessing `normalizeMediaType` should be done static in `ObjectSerializer`, as described in https://github.com/OpenAPITools/openapi-generator/issues/20201. fix applies only to the `typescript` generator.