def METHOD_NAME(self, api_spec: APISpec) -> None:
    with contextlib.suppress(DuplicateComponentNameError):
        api_spec.components.schema(
            TemporaryCachePostSchema.__name__,
            schema=TemporaryCachePostSchema,
        )
        api_spec.components.schema(
            TemporaryCachePutSchema.__name__,
            schema=TemporaryCachePutSchema,
        )
    super().METHOD_NAME(api_spec)